|
Bouncy Castle Cryptography Library 1.71 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
An encryption method that can be applied to encrypt data in a PGPEncryptedDataGenerator
.
Constructor Summary | |
PGPKeyEncryptionMethodGenerator()
|
Method Summary | |
abstract ContainedPacket |
generate(int encAlgorithm,
byte[] sessionInfo)
Generates a packet encoding the details of this encryption method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PGPKeyEncryptionMethodGenerator()
Method Detail |
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.
|
Bouncy Castle Cryptography Library 1.71 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |