| Modifier and Type | Method and Description |
|---|---|
| public TlsSecret | Returns: the calculated secret.Calculate the agreed secret based on the calculator's current state. |
| public byte[] | Returns: a byte encoding of the public key.Generate an ephemeral key pair, returning the encoding of the public key. |
| public void | receivePeerValue(byte[]
a byte encoding of the peer public key. peerValue)Pass in the public key for the peer to the agreement calculator. |
| calculateSecret | back to summary |
|---|---|
| public TlsSecret calculateSecret() throws IOException Calculate the agreed secret based on the calculator's current state.
| |
| generateEphemeral | back to summary |
|---|---|
| public byte[] generateEphemeral() throws IOException Generate an ephemeral key pair, returning the encoding of the public key.
| |
| receivePeerValue | back to summary |
|---|---|
| public void receivePeerValue(byte[] peerValue) throws IOException Pass in the public key for the peer to the agreement calculator.
| |