public class OPENPGPKEY extends Data
| Constructor and Description |
|---|
OPENPGPKEY(byte[] publicKeyPacket) |
| 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, toOutputStreampublic byte[] getPublicKeyPacket()
public String getPublicKeyPacketBase64()
public Record.TYPE getType()
Datapublic static OPENPGPKEY parse(DataInputStream dis, int length) throws IOException
IOExceptionpublic void serialize(DataOutputStream dos) throws IOException
Dataserialize in class Datados - the output stream to serialize to.IOException - if an I/O error occurs.