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
All Methods Static Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
parse
public static OPENPGPKEY parse(DataInputStream dis, int length) throws IOException
- Throws:
IOException
-
getType
public Record.TYPE getType()
Description copied from class:DataThe payload type.
-
serialize
public void serialize(DataOutputStream dos) throws IOException
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.
-
getPublicKeyPacketBase64
public String getPublicKeyPacketBase64()
-
getPublicKeyPacket
public byte[] getPublicKeyPacket()
-
-