| Modifier and Type | Field and Description |
|---|---|
| private PGPPublicKey | |
| public static final String | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| protected abstract byte[] | |
| public ContainedPacket | generate(int
the encAlgorithm, byte[] encryption algorithm being usedsession data generated by the encrypted data generator. sessionInfo)Implements abstract org. |
| private static boolean | |
| public byte[][] | |
| public PublicKeyKeyEncryptionMethodGenerator | Returns: the current generator.Controls whether to obfuscate the size of ECDH session keys using extra padding where necessary. |
| pubKey | back to summary |
|---|---|
| private PGPPublicKey pubKey | |
| SESSION_KEY_OBFUSCATION_PROPERTY | back to summary |
|---|---|
| public static final String SESSION_KEY_OBFUSCATION_PROPERTY | |
| sessionKeyObfuscation | back to summary |
|---|---|
| protected boolean sessionKeyObfuscation | |
| PublicKeyKeyEncryptionMethodGenerator | back to summary |
|---|---|
| protected PublicKeyKeyEncryptionMethodGenerator(PGPPublicKey pubKey) | |
| convertToEncodedMPI | back to summary |
|---|---|
| private byte[] convertToEncodedMPI(byte[] encryptedSessionInfo) throws PGPException | |
| encryptSessionInfo | back to summary |
|---|---|
| protected abstract byte[] encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo) throws PGPException | |
| generate | back to summary |
|---|---|
| public ContainedPacket generate(int encAlgorithm, byte[] sessionInfo) throws PGPException Implements abstract org. Doc from org. Generates a packet encoding the details of this encryption method.
| |
| getSessionKeyObfuscationDefault | back to summary |
|---|---|
| private static boolean getSessionKeyObfuscationDefault() | |
| processSessionInfo | back to summary |
|---|---|
| public byte[][] processSessionInfo(byte[] encryptedSessionInfo) throws PGPException | |
| setSessionKeyObfuscation | back to summary |
|---|---|
| public PublicKeyKeyEncryptionMethodGenerator setSessionKeyObfuscation(boolean enabled) Controls whether to obfuscate the size of ECDH session keys using extra padding where necessary. The default behaviour can be configured using the system property "", or else it will default to enabled.
| |