| Modifier and Type | Field and Description |
|---|---|
| protected final BcTlsMLKemDomain | |
| protected MLKEMPrivateKeyParameters | |
| protected MLKEMPublicKeyParameters | |
| protected TlsSecret |
| 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. |
| domain | back to summary |
|---|---|
| protected final BcTlsMLKemDomain domain | |
| privateKey | back to summary |
|---|---|
| protected MLKEMPrivateKeyParameters privateKey | |
| publicKey | back to summary |
|---|---|
| protected MLKEMPublicKeyParameters publicKey | |
| secret | back to summary |
|---|---|
| protected TlsSecret secret | |
| BcTlsMLKem | back to summary |
|---|---|
| public BcTlsMLKem(BcTlsMLKemDomain 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.
| |