| Modifier and Type | Field and Description |
|---|---|
| private DerivationFunction | |
| private final int | |
| private final RSAKeyParameters |
| Access | Constructor and Description |
|---|---|
| public | RSAKEMExtractor(RSAKeyParameters
the decryption key. privKey, int length in bytes of key to generate. keyLen, DerivationFunction the key derivation function to be used. kdf)Set up the RSA-KEM. |
| 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. |
| kdf | back to summary |
|---|---|
| private DerivationFunction kdf | |
| keyLen | back to summary |
|---|---|
| private final int keyLen | |
| privKey | back to summary |
|---|---|
| private final RSAKeyParameters privKey | |
| RSAKEMExtractor | back to summary |
|---|---|
| public RSAKEMExtractor(RSAKeyParameters privKey, int keyLen, DerivationFunction kdf) Set up the RSA-KEM.
| |
| 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.
| |