Changeset View
Changeset View
Standalone View
Standalone View
common/openpgpdefs.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | typedef enum | ||||
PKT_USER_ID = 13, /* User id packet. */ | PKT_USER_ID = 13, /* User id packet. */ | ||||
PKT_PUBLIC_SUBKEY = 14, /* Public subkey. */ | PKT_PUBLIC_SUBKEY = 14, /* Public subkey. */ | ||||
PKT_OLD_COMMENT = 16, /* Comment packet from an OpenPGP draft. */ | PKT_OLD_COMMENT = 16, /* Comment packet from an OpenPGP draft. */ | ||||
PKT_ATTRIBUTE = 17, /* PGP's attribute packet. */ | PKT_ATTRIBUTE = 17, /* PGP's attribute packet. */ | ||||
PKT_ENCRYPTED_MDC = 18, /* Integrity protected encrypted data. */ | PKT_ENCRYPTED_MDC = 18, /* Integrity protected encrypted data. */ | ||||
PKT_MDC = 19, /* Manipulation detection code packet. */ | PKT_MDC = 19, /* Manipulation detection code packet. */ | ||||
PKT_ENCRYPTED_AEAD= 20, /* AEAD encrypted data packet. */ | PKT_ENCRYPTED_AEAD= 20, /* AEAD encrypted data packet. */ | ||||
PKT_COMMENT = 61, /* new comment packet (GnuPG specific). */ | PKT_COMMENT = 61, /* new comment packet (GnuPG specific). */ | ||||
PKT_GPG_CONTROL = 63 /* internal control packet (GnuPG specific). */ | PKT_GPG_CONTROL = 63, /* internal control packet (GnuPG specific). */ | ||||
} | } | ||||
pkttype_t; | pkttype_t; | ||||
static inline const char * | static inline const char * | ||||
pkttype_str (pkttype_t type) | pkttype_str (pkttype_t type) | ||||
{ | { | ||||
switch (type) | switch (type) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines |