Class PGPKeyEncryptionMethodGenerator
- java.lang.Object
-
- org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
-
- Direct Known Subclasses:
PBEKeyEncryptionMethodGenerator,PublicKeyKeyEncryptionMethodGenerator
public abstract class PGPKeyEncryptionMethodGenerator extends java.lang.ObjectAn encryption method that can be applied to encrypt data in aPGPEncryptedDataGenerator.
-
-
Constructor Summary
Constructors Constructor Description PGPKeyEncryptionMethodGenerator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ContainedPacketgenerate(int encAlgorithm, byte[] sessionInfo)abstract ContainedPacketgenerateV5(int encAlgorithm, int aeadAlgorithm, byte[] sessionInfo)abstract ContainedPacketgenerateV6(int encAlgorithm, int aeadAlgorithm, byte[] sessionInfo)
-
-
-
Method Detail
-
generate
public abstract ContainedPacket generate(int encAlgorithm, byte[] sessionInfo) throws PGPException
- 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
-
-