Class BcPublicKeyKeyEncryptionMethodGenerator

java.lang.Object
org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
org.bouncycastle.openpgp.operator.bc.BcPublicKeyKeyEncryptionMethodGenerator
All Implemented Interfaces:
PGPKeyEncryptionMethodGenerator

public class BcPublicKeyKeyEncryptionMethodGenerator extends PublicKeyKeyEncryptionMethodGenerator
A method generator for supporting public key based encryption operations.
  • Constructor Details

    • BcPublicKeyKeyEncryptionMethodGenerator

      public BcPublicKeyKeyEncryptionMethodGenerator(PGPPublicKey key)
      Create a public key encryption method generator with the method to be based on the passed in key.
      Parameters:
      key - the public key to use for encryption.
  • Method Details