public class OPENPGPKEY extends Data
Modifier and Type | Method and 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() |
equals, hashCode, length, toByteArray, toOutputStream
public static OPENPGPKEY parse(DataInputStream dis, int length) throws IOException
IOException
public Record.TYPE getType()
Data
public void serialize(DataOutputStream dos) throws IOException
Data
serialize
in class Data
dos
- the output stream to serialize to.IOException
- if an I/O error occurs.public String getPublicKeyPacketBase64()
public byte[] getPublicKeyPacket()