|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
public abstract class 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 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||