public class ServerDHParams
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DHPublicKeyParameters |
publicKey |
| Constructor and Description |
|---|
ServerDHParams(DHPublicKeyParameters publicKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(java.io.OutputStream output)
Encode this
ServerDHParams to an OutputStream. |
DHPublicKeyParameters |
getPublicKey() |
static ServerDHParams |
parse(java.io.InputStream input)
Parse a
ServerDHParams from an InputStream. |
protected DHPublicKeyParameters publicKey
public ServerDHParams(DHPublicKeyParameters publicKey)
public DHPublicKeyParameters getPublicKey()
public void encode(java.io.OutputStream output)
throws java.io.IOException
ServerDHParams to an OutputStream.output - the OutputStream to encode to.java.io.IOExceptionpublic static ServerDHParams parse(java.io.InputStream input) throws java.io.IOException
ServerDHParams from an InputStream.input - the InputStream to parse from.ServerDHParams object.java.io.IOException