Class RSAKEMExtractor

java.lang.Object
org.bouncycastle.crypto.kems.RSAKEMExtractor
All Implemented Interfaces:
EncapsulatedSecretExtractor

public class RSAKEMExtractor extends Object implements EncapsulatedSecretExtractor
The RSA Key Encapsulation Mechanism (RSA-KEM) from ISO 18033-2.
  • Constructor Details

    • RSAKEMExtractor

      public RSAKEMExtractor(RSAKeyParameters privKey, int keyLen, DerivationFunction kdf)
      Set up the RSA-KEM.
      Parameters:
      privKey - the decryption key.
      keyLen - length in bytes of key to generate.
      kdf - the key derivation function to be used.
  • Method Details