|
Bouncy Castle Cryptography Library 1.65 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator | +--org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
Constructor Summary | |
protected |
PublicKeyKeyEncryptionMethodGenerator(PGPPublicKey pubKey)
|
Method Summary | |
protected abstract byte[] |
encryptSessionInfo(PGPPublicKey pubKey,
byte[] sessionInfo)
|
ContainedPacket |
generate(int encAlgorithm,
byte[] sessionInfo)
Generates a packet encoding the details of this encryption method. |
byte[][] |
processSessionInfo(byte[] encryptedSessionInfo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected PublicKeyKeyEncryptionMethodGenerator(PGPPublicKey pubKey)
Method Detail |
public byte[][] processSessionInfo(byte[] encryptedSessionInfo) throws PGPException
public ContainedPacket generate(int encAlgorithm, byte[] sessionInfo) throws PGPException
PGPKeyEncryptionMethodGenerator
generate
in class PGPKeyEncryptionMethodGenerator
org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
encAlgorithm
- the encryption algorithm
being usedsessionInfo
- session data generated by the encrypted data generator.PGPException
- if an error occurs constructing the packet.protected abstract byte[] encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo) throws PGPException
|
Bouncy Castle Cryptography Library 1.65 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |