Package org.bouncycastle.bcpg
Class PacketFormat
- java.lang.Object
-
- org.bouncycastle.bcpg.PacketFormat
-
public class PacketFormat extends java.lang.Object
OpenPGP Packet Header Length Format.- See Also:
- OpenPGP Packet Headers
-
-
Field Summary
Fields Modifier and Type Field Description static PacketFormat
CURRENT
Always use the current (new) packet format.static PacketFormat
LEGACY
Always use the old (legacy) packet format.static PacketFormat
ROUNDTRIP
Let the individual packet decide the format (seePacket.hasNewPacketFormat()
).
-
-
-
Field Detail
-
LEGACY
public static final PacketFormat LEGACY
Always use the old (legacy) packet format.
-
CURRENT
public static final PacketFormat CURRENT
Always use the current (new) packet format.
-
ROUNDTRIP
public static final PacketFormat ROUNDTRIP
Let the individual packet decide the format (seePacket.hasNewPacketFormat()
). This allows to round-trip packets without changing the packet format.
-
-