|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Factory for public-key based PGPDataDecryptors.
The purpose of this class is to act as an abstract factory, whose subclasses can decide, which concrete
implementation to use to decrypt OpenPGP messages that were encrypted to a public-key.
| Method Summary | |
byte[] |
recoverSessionData(int keyAlgorithm,
byte[][] secKeyData)
Deprecated. use recoverSessionData(PublicKeyEncSessionPacket, InputStreamPacket) instead. |
byte[] |
recoverSessionData(int keyAlgorithm,
byte[][] secKeyData,
int pkeskVersion)
Deprecated. use recoverSessionData(PublicKeyEncSessionPacket, InputStreamPacket) instead. |
byte[] |
recoverSessionData(PublicKeyEncSessionPacket pkesk,
InputStreamPacket encData)
Recover the plain session info by decrypting the encrypted session key. |
| Methods inherited from interface org.bouncycastle.openpgp.operator.PGPDataDecryptorFactory |
createDataDecryptor, createDataDecryptor, createDataDecryptor |
| Method Detail |
public byte[] recoverSessionData(PublicKeyEncSessionPacket pkesk,
InputStreamPacket encData)
throws PGPException
pkesk - public-key encrypted session-key packetencData - encrypted data (sed/seipd/oed) packet
PGPException
public byte[] recoverSessionData(int keyAlgorithm,
byte[][] secKeyData)
throws PGPException
recoverSessionData(PublicKeyEncSessionPacket, InputStreamPacket) instead.
keyAlgorithm - public key algorithmsecKeyData - encrypted session key data
PGPException
public byte[] recoverSessionData(int keyAlgorithm,
byte[][] secKeyData,
int pkeskVersion)
throws PGPException
recoverSessionData(PublicKeyEncSessionPacket, InputStreamPacket) instead.
keyAlgorithm - public key algorithmsecKeyData - encrypted session key datapkeskVersion - version of the PKESK packet
PGPException
|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||