Class SecretKeyPacket

    • Constructor Detail

      • SecretKeyPacket

        public SecretKeyPacket​(PublicKeyPacket pubKeyPacket,
                               int encAlgorithm,
                               S2K s2k,
                               byte[] iv,
                               byte[] secKeyData)
        Parameters:
        pubKeyPacket -
        encAlgorithm -
        s2k -
        iv -
        secKeyData -
      • SecretKeyPacket

        public SecretKeyPacket​(PublicKeyPacket pubKeyPacket,
                               int encAlgorithm,
                               int s2kUsage,
                               S2K s2k,
                               byte[] iv,
                               byte[] secKeyData)
    • Method Detail

      • getEncAlgorithm

        public int getEncAlgorithm()
      • getS2KUsage

        public int getS2KUsage()
      • getIV

        public byte[] getIV()
      • getS2K

        public S2K getS2K()
      • getSecretKeyData

        public byte[] getSecretKeyData()
      • getEncodedContents

        public byte[] getEncodedContents()
                                  throws java.io.IOException
        Throws:
        java.io.IOException