Class PacketFormat


  • public class PacketFormat
    extends java.lang.Object
    OpenPGP Packet Header Length Format.
    See Also:
    OpenPGP Packet Headers
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 (see Packet.hasNewPacketFormat()). This allows to round-trip packets without changing the packet format.