| Modifier and Type | Field and Description |
|---|---|
| protected final JceX25519Domain | |
| protected KeyPair | |
| protected PublicKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TlsSecret | calculateSecret()
Implements org. |
| public byte[] | generateEphemeral()
Implements org. |
| public void | receivePeerValue(byte[]
a byte encoding of the peer public key. peerValue)Implements org. |
| domain | back to summary |
|---|---|
| protected final JceX25519Domain domain | |
| localKeyPair | back to summary |
|---|---|
| protected KeyPair localKeyPair | |
| peerPublicKey | back to summary |
|---|---|
| protected PublicKey peerPublicKey | |
| JceX25519 | back to summary |
|---|---|
| public JceX25519(JceX25519Domain domain) | |
| calculateSecret | back to summary |
|---|---|
| public TlsSecret calculateSecret() throws IOException Implements org. Doc from org. Calculate the agreed secret based on the calculator's current state.
| |
| generateEphemeral | back to summary |
|---|---|
| public byte[] generateEphemeral() throws IOException Implements org. Doc from org. Generate an ephemeral key pair, returning the encoding of the public key.
| |
| receivePeerValue | back to summary |
|---|---|
| public void receivePeerValue(byte[] peerValue) throws IOException Implements org. Doc from org. Pass in the public key for the peer to the agreement calculator.
| |