Class PublicKeyKeyEncryptionMethodGenerator

    • Field Detail

      • sessionKeyObfuscation

        protected boolean sessionKeyObfuscation
    • Constructor Detail

      • PublicKeyKeyEncryptionMethodGenerator

        protected PublicKeyKeyEncryptionMethodGenerator​(PGPPublicKey pubKey)
    • Method Detail

      • setSessionKeyObfuscation

        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.

        Returns:
        the current generator.
      • processSessionInfo

        public byte[][] processSessionInfo​(byte[] encryptedSessionInfo)
                                    throws PGPException
        Throws:
        PGPException