Class SymmetricKeyEncSessionPacket

  • All Implemented Interfaces:
    PacketTags, org.bouncycastle.util.Encodable

    public class SymmetricKeyEncSessionPacket
    extends ContainedPacket
    Basic type for a symmetric encrypted session key packet
    • Constructor Detail

      • SymmetricKeyEncSessionPacket

        public SymmetricKeyEncSessionPacket​(BCPGInputStream in)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • SymmetricKeyEncSessionPacket

        public SymmetricKeyEncSessionPacket​(int encAlgorithm,
                                            S2K s2k,
                                            byte[] secKeyData)
    • Method Detail

      • getEncAlgorithm

        public int getEncAlgorithm()
        Returns:
        int
      • getS2K

        public S2K getS2K()
        Returns:
        S2K
      • getSecKeyData

        public byte[] getSecKeyData()
        Returns:
        byte[]
      • getVersion

        public int getVersion()
        Returns:
        int