public class ServerDHParams extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DHPublicKeyParameters |
publicKey |
| Constructor and Description |
|---|
ServerDHParams(DHPublicKeyParameters publicKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encode this
ServerDHParams to an OutputStream. |
DHPublicKeyParameters |
getPublicKey() |
static ServerDHParams |
parse(InputStream input)
Parse a
ServerDHParams from an InputStream. |
protected DHPublicKeyParameters publicKey
public ServerDHParams(DHPublicKeyParameters publicKey)
public DHPublicKeyParameters getPublicKey()
public void encode(OutputStream output) throws IOException
ServerDHParams to an OutputStream.output - the OutputStream to encode to.IOExceptionpublic static ServerDHParams parse(InputStream input) throws IOException
ServerDHParams from an InputStream.input - the InputStream to parse from.ServerDHParams object.IOExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.