Class OPENPGPKEY


  • public class OPENPGPKEY
    extends Data
    • Method Detail

      • parse

        public static OPENPGPKEY parse​(java.io.DataInputStream dis,
                                       int length)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getType

        public Record.TYPE getType()
        Description copied from class: Data
        The payload type.
        Specified by:
        getType in class Data
        Returns:
        The payload type.
      • serialize

        public void serialize​(java.io.DataOutputStream dos)
                       throws java.io.IOException
        Description copied from class: Data
        The internal method used to serialize Data subclasses.
        Specified by:
        serialize in class Data
        Parameters:
        dos - the output stream to serialize to.
        Throws:
        java.io.IOException - if an I/O error occurs.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPublicKeyPacketBase64

        public java.lang.String getPublicKeyPacketBase64()
      • getPublicKeyPacket

        public byte[] getPublicKeyPacket()