| Modifier and Type | Field and Description |
|---|---|
| private final SNTRUPrimePrivateKeyParameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | extractSecret(byte[]
the encapsulated secret. encapsulation)Implements org. Extract the secret based on the recipient private key. |
| public int | getEncapsulationLength()
Implements org. Return the length in bytes of the encapsulation. |
| privateKey | back to summary |
|---|---|
| private final SNTRUPrimePrivateKeyParameters privateKey | |
| SNTRUPrimeKEMExtractor | back to summary |
|---|---|
| public SNTRUPrimeKEMExtractor(SNTRUPrimePrivateKeyParameters privateKey) | |
| extractSecret | back to summary |
|---|---|
| public byte[] extractSecret(byte[] encapsulation) Implements org. Doc from org. Extract the secret based on the recipient private key.
| |
| getEncapsulationLength | back to summary |
|---|---|
| public int getEncapsulationLength() Implements org. Doc from org. Return the length in bytes of the encapsulation.
| |