Package org.minidns.record
Class OPENPGPKEY
java.lang.Object
org.minidns.record.Data
org.minidns.record.OPENPGPKEY
public class OPENPGPKEY extends Data
-
Constructor Summary
Constructors Constructor Description OPENPGPKEY(byte[] publicKeyPacket)
-
Method Summary
Modifier and Type Method Description byte[]
getPublicKeyPacket()
String
getPublicKeyPacketBase64()
Record.TYPE
getType()
The payload type.static OPENPGPKEY
parse(DataInputStream dis, int length)
void
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.String
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()
-