Class PGPKeyEncryptionMethodGenerator
java.lang.Object
org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
- Direct Known Subclasses:
PBEKeyEncryptionMethodGenerator,PublicKeyKeyEncryptionMethodGenerator
An encryption method that can be applied to encrypt data in a
PGPEncryptedDataGenerator.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ContainedPacketgenerate(int encAlgorithm, byte[] sessionInfo) abstract ContainedPacketgenerateV5(int encAlgorithm, int aeadAlgorithm, byte[] sessionInfo) abstract ContainedPacketgenerateV6(int encAlgorithm, int aeadAlgorithm, byte[] sessionInfo)
-
Constructor Details
-
PGPKeyEncryptionMethodGenerator
public PGPKeyEncryptionMethodGenerator()
-
-
Method Details
-
generate
- Throws:
PGPException
-
generateV5
public abstract ContainedPacket generateV5(int encAlgorithm, int aeadAlgorithm, byte[] sessionInfo) throws PGPException - Throws:
PGPException
-
generateV6
public abstract ContainedPacket generateV6(int encAlgorithm, int aeadAlgorithm, byte[] sessionInfo) throws PGPException - Throws:
PGPException
-