| Modifier and Type | Field and Description |
|---|---|
| protected final BcTlsCrypto | |
| protected final byte[] | |
| protected final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TlsSecret | calculateSecret()
Implements org. Calculate the agreed secret based on the calculator's current state. |
| public byte[] | generateEphemeral()
Implements org. 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)Implements org. Pass in the public key for the peer to the agreement calculator. |
| crypto | back to summary |
|---|---|
| protected final BcTlsCrypto crypto | |
| peerPublicKey | back to summary |
|---|---|
| protected final byte[] peerPublicKey | |
| privateKey | back to summary |
|---|---|
| protected final byte[] privateKey | |
| BcX25519 | back to summary |
|---|---|
| public BcX25519(BcTlsCrypto crypto) | |
| 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.
| |