|
|||||||||
Home >> All >> cryptix >> openpgp >> [ packet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
cryptix.openpgp.packet
Class PGPDummyPacket

java.lang.Objectcryptix.openpgp.packet.PGPPacket
cryptix.openpgp.packet.PGPDummyPacket
- Direct Known Subclasses:
- PGPMarkerPacket, PGPModificationDetectionCodePacket, PGPTrustPacket, PGPUnknownPacket
- public abstract class PGPDummyPacket
- extends PGPPacket
Placeholder for packets we don't know how to parse otherwise.
- Version:
- $Revision: 1.2 $
Field Summary | |
private byte[] |
payload
|
Fields inherited from class cryptix.openpgp.packet.PGPPacket |
|
Constructor Summary | |
PGPDummyPacket()
Empty constructor. |
Method Summary | |
void |
decodeBody(cryptix.openpgp.io.PGPPacketDataInputStream in,
cryptix.openpgp.algorithm.PGPAlgorithmFactory factory)
Read the packet body. |
void |
encodeBody(cryptix.openpgp.io.PGPPacketDataOutputStream out)
Encode the packet body. |
boolean |
equals(java.lang.Object ssp)
Compare this packet to another one. |
byte[] |
getPayload()
Get the binary payload of this packet. |
void |
setPayload(byte[] payload)
Set the binary payload of this packet. |
Methods inherited from class cryptix.openpgp.packet.PGPPacket |
encode, getForceLengthType, getPacketID, hashCode, isLazy, setPacketID |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
payload
private byte[] payload
Constructor Detail |
PGPDummyPacket
public PGPDummyPacket()
- Empty constructor.
Remember to use setPacketID to set the packet ID.
Method Detail |
setPayload
public void setPayload(byte[] payload)
- Set the binary payload of this packet.
getPayload
public byte[] getPayload()
- Get the binary payload of this packet.
equals
public boolean equals(java.lang.Object ssp)
decodeBody
public void decodeBody(cryptix.openpgp.io.PGPPacketDataInputStream in, cryptix.openpgp.algorithm.PGPAlgorithmFactory factory) throws java.io.IOException, cryptix.openpgp.PGPFatalDataFormatException, cryptix.openpgp.PGPDataFormatException
- Read the packet body.
- Specified by:
decodeBody
in classPGPPacket
encodeBody
public void encodeBody(cryptix.openpgp.io.PGPPacketDataOutputStream out) throws java.io.IOException
- Encode the packet body.
- Specified by:
encodeBody
in classPGPPacket
|
|||||||||
Home >> All >> cryptix >> openpgp >> [ packet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |