PBEKeyEncryptionMethodGenerator
, PublicKeyKeyEncryptionMethodGenerator
public abstract class PGPKeyEncryptionMethodGenerator
extends java.lang.Object
PGPEncryptedDataGenerator
.Constructor | Description |
---|---|
PGPKeyEncryptionMethodGenerator() |
Modifier and Type | Method | Description |
---|---|---|
abstract ContainedPacket |
generate(int encAlgorithm,
byte[] sessionInfo) |
Generates a packet encoding the details of this encryption method.
|
public abstract ContainedPacket generate(int encAlgorithm, byte[] sessionInfo) throws PGPException
encAlgorithm
- the encryption algorithm
being usedsessionInfo
- session data generated by the encrypted data generator.PGPException
- if an error occurs constructing the packet.