| Modifier and Type | Field and Description |
|---|---|
| private final NTRULPRimePrivateKeyParameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | extractSecret(byte[]
the encapsulated secret. encapsulation)Implements org. |
| public int | getEncapsulationLength()
Implements org. |
| privateKey | back to summary |
|---|---|
| private final NTRULPRimePrivateKeyParameters privateKey | |
| NTRULPRimeKEMExtractor | back to summary |
|---|---|
| public NTRULPRimeKEMExtractor(NTRULPRimePrivateKeyParameters 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.
| |