Class AbstractPublicKeyDataDecryptorFactory

    • Constructor Detail

      • AbstractPublicKeyDataDecryptorFactory

        public AbstractPublicKeyDataDecryptorFactory()
    • Method Detail

      • recoverSessionData

        public byte[] recoverSessionData​(int keyAlgorithm,
                                         byte[][] secKeyData)
                                  throws PGPException
        Description copied from interface: PublicKeyDataDecryptorFactory
        Recover the plain session info by decrypting the encrypted session key. This method returns the decrypted session info as-is (without prefixing missing cipher algorithm), so the return value is:
        [sym-alg]?[session-key][checksum]?
        Specified by:
        recoverSessionData in interface PublicKeyDataDecryptorFactory
        Parameters:
        keyAlgorithm - public key algorithm
        secKeyData - encrypted session key data
        Returns:
        decrypted session info
        Throws:
        PGPException
      • containsSKAlg

        protected boolean containsSKAlg​(int pkeskVersion)