Class SessionKey


  • public class SessionKey
    extends Object
    A SessionKey is the symmetric key that is used to encrypt/decrypt an OpenPGP message. The OpenPGP message header contains a copy of the session key, encrypted for the public key of each recipient.
    • Constructor Detail

      • SessionKey

        public SessionKey​(@Nonnull
                          org.bouncycastle.openpgp.PGPSessionKey sessionKey)
        Constructor to create a session key from a BC PGPSessionKey object.
        Parameters:
        sessionKey - BC session key