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()StringgetPublicKeyPacketBase64()Record.TYPEgetType()The payload type.static OPENPGPKEYparse(DataInputStream dis, int length)voidserialize(DataOutputStream dos)The internal method used to serialize Data subclasses.StringtoString()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:DataThe payload type. -
serialize
Description copied from class:DataThe internal method used to serialize Data subclasses.- Specified by:
serializein classData- Parameters:
dos- the output stream to serialize to.- Throws:
IOException- if an I/O error occurs.
-
toString
-
getPublicKeyPacketBase64
-
getPublicKeyPacket
public byte[] getPublicKeyPacket()
-