diff options
author | Werner Koch <wk@gnupg.org> | 1998-01-16 22:15:24 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-01-16 22:15:24 +0100 |
commit | 4ec1775f3eaf8733a5285460b631253b90d3c6fb (patch) | |
tree | 3061decd5793f93c5a51dab58cb45c8e79a26403 /g10/packet.h | |
parent | *** empty log message *** (diff) | |
download | gnupg2-4ec1775f3eaf8733a5285460b631253b90d3c6fb.tar.xz gnupg2-4ec1775f3eaf8733a5285460b631253b90d3c6fb.zip |
added some trust model stuff
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/g10/packet.h b/g10/packet.h index 6326c43d4..285695213 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -42,9 +42,8 @@ typedef enum { PKT_PLAINTEXT =11, /* plaintext data with filename and mode */ PKT_RING_TRUST =12, /* keyring trust packet */ PKT_USER_ID =13, /* user id packet */ - PKT_COMMENT =14, /* comment packet */ PKT_PUBKEY_SUBCERT=14, /* subkey certificate (OpenPGP) */ - PKT_NEW_COMMENT =16 /* new comment packet (OpenPGP) */ + PKT_COMMENT =16 /* new comment packet (OpenPGP) */ } pkttype_t; typedef struct packet_struct PACKET; @@ -74,6 +73,7 @@ typedef struct { typedef struct { u32 keyid[2]; /* 64 bit keyid */ + ulong local_id; /* internal use, valid if > 0 */ u32 timestamp; /* signature made */ byte sig_class; /* sig classification, append for MD calculation*/ byte pubkey_algo; /* algorithm used for public key scheme */ @@ -96,9 +96,11 @@ typedef struct { typedef struct { u32 timestamp; /* certificate made */ u16 valid_days; /* valid for this number of days */ + byte hdrbytes; /* number of header bytes */ + byte version; byte pubkey_algo; /* algorithm used for public key scheme */ md_filter_context_t mfx; - u32 local_id; /* internal use, valid if > 0 */ + ulong local_id; /* internal use, valid if > 0 */ union { struct { MPI p; /* prime */ @@ -115,6 +117,8 @@ typedef struct { typedef struct { u32 timestamp; /* certificate made */ u16 valid_days; /* valid for this number of days */ + byte hdrbytes; /* number of header bytes */ + byte version; byte pubkey_algo; /* algorithm used for public key scheme */ union { struct { |