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.IOException
public static ServerDHParams parse(InputStream input) throws IOException
ServerDHParams
from an InputStream
.input
- the InputStream
to parse from.ServerDHParams
object.IOException
Copyright © 2020 BouncyCastle.org. All rights reserved.