Class PublicKeyPacket

    • Constructor Detail

      • PublicKeyPacket

        public PublicKeyPacket​(int algorithm,
                               java.util.Date time,
                               BCPGKey key)
        Construct version 4 public key packet.
        Parameters:
        algorithm -
        time -
        key -
    • Method Detail

      • getVersion

        public int getVersion()
      • getAlgorithm

        public int getAlgorithm()
      • getValidDays

        public int getValidDays()
      • getTime

        public java.util.Date getTime()
      • getEncodedContents

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