Package org.minidns.record
Class OPENPGPKEY
java.lang.Object
org.minidns.record.Data
org.minidns.record.OPENPGPKEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getType()
The payload type.static OPENPGPKEY
parse
(DataInputStream dis, int length) void
The internal method used to serialize Data subclasses.toString()
Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
Constructor Details
-
OPENPGPKEY
OPENPGPKEY(byte[] publicKeyPacket)
-
-
Method Details
-
parse
- Throws:
IOException
-
getType
Description copied from class:Data
The payload type. -
serialize
Description copied from class:Data
The internal method used to serialize Data subclasses.- Specified by:
serialize
in classData
- Parameters:
dos
- the output stream to serialize to.- Throws:
IOException
- if an I/O error occurs.
-
toString
-
getPublicKeyPacketBase64
-
getPublicKeyPacket
public byte[] getPublicKeyPacket()
-