public abstract class PublicKeyKeyEncryptionMethodGenerator extends PGPKeyEncryptionMethodGenerator
Modifier | Constructor and Description |
---|---|
protected |
PublicKeyKeyEncryptionMethodGenerator(PGPPublicKey pubKey) |
Modifier and Type | Method and Description |
---|---|
protected abstract byte[] |
encryptSessionInfo(PGPPublicKey pubKey,
byte[] sessionInfo) |
ContainedPacket |
generate(int encAlgorithm,
byte[] sessionInfo) |
java.math.BigInteger[] |
processSessionInfo(byte[] encryptedSessionInfo) |
protected PublicKeyKeyEncryptionMethodGenerator(PGPPublicKey pubKey)
public java.math.BigInteger[] processSessionInfo(byte[] encryptedSessionInfo) throws PGPException
PGPException
public ContainedPacket generate(int encAlgorithm, byte[] sessionInfo) throws PGPException
generate
in class PGPKeyEncryptionMethodGenerator
PGPException
protected abstract byte[] encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo) throws PGPException
PGPException