diff options
author | Niels Möller <nisse@lysator.liu.se> | 2003-05-14 12:19:35 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2003-05-14 12:19:35 +0200 |
commit | 1511a4f67748d6514f2af1012c3257c8a3fadc0c (patch) | |
tree | dff4555af4c89b2706b7c2e0c8da1347bf372cb7 /pgp.h | |
parent | 3924ef1c14f91287c5371633c704fa2062a22f5a (diff) | |
download | nettle-1511a4f67748d6514f2af1012c3257c8a3fadc0c.tar.gz |
(enum pgp_subpacket_tag): Copied values from RFC 2440.
Rev: src/nettle/pgp.h:1.5
Diffstat (limited to 'pgp.h')
-rw-r--r-- | pgp.h | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -26,6 +26,8 @@ #ifndef NETTLE_PGP_H_INCLUDED #define NETTLE_PGP_H_INCLUDED +#include <time.h> + #include "bignum.h" /* Name mangling */ @@ -203,8 +205,27 @@ enum pgp_signature_type enum pgp_subpacket_tag { - /* FIXME: XXX just to it by the compiler */ - PGP_SUBPACKET_ISSUER = 0, + PGP_SUBPACKET_CREATION_TIME = 2, + PGP_SUBPACKET_SIGNATURE_EXPIRATION_TIME = 3, + PGP_SUBPACKET_EXPORTABLE_CERTIFICATION = 4, + PGP_SUBPACKET_TRUST_SIGNATURE = 5, + PGP_SUBPACKET_REGULAR_EXPRESSION = 6, + PGP_SUBPACKET_REVOCABLE = 7, + PGP_SUBPACKET_KEY_EXPIRATION_TIME = 9, + PGP_SUBPACKET_PLACEHOLDER = 10 , + PGP_SUBPACKET_PREFERRED_SYMMETRIC_ALGORITHMS = 11, + PGP_SUBPACKET_REVOCATION_KEY = 12, + PGP_SUBPACKET_ISSUER_KEY_ID = 16, + PGP_SUBPACKET_NOTATION_DATA = 20, + PGP_SUBPACKET_PREFERRED_HASH_ALGORITHMS = 21, + PGP_SUBPACKET_PREFERRED_COMPRESSION_ALGORITHMS = 22, + PGP_SUBPACKET_KEY_SERVER_PREFERENCES = 23, + PGP_SUBPACKET_PREFERRED_KEY_SERVER = 24, + PGP_SUBPACKET_PRIMARY_USER_ID = 25, + PGP_SUBPACKET_POLICY_URL = 26, + PGP_SUBPACKET_KEY_FLAGS = 27, + PGP_SUBPACKET_SIGNERS_USER_ID = 28, + PGP_SUBPACKET_REASON_FOR_REVOCATION = 29, }; #endif /* NETTLE_PGP_H_INCLUDED */ |