34 #ifndef NETTLE_PGP_H_INCLUDED
35 #define NETTLE_PGP_H_INCLUDED
47 #define pgp_put_uint32 nettle_pgp_put_uint32
48 #define pgp_put_uint16 nettle_pgp_put_uint16
49 #define pgp_put_mpi nettle_pgp_put_mpi
50 #define pgp_put_string nettle_pgp_put_string
51 #define pgp_put_length nettle_pgp_put_length
52 #define pgp_put_header nettle_pgp_put_header
53 #define pgp_put_header_length nettle_pgp_put_header_length
54 #define pgp_sub_packet_start nettle_pgp_sub_packet_start
55 #define pgp_put_sub_packet nettle_pgp_put_sub_packet
56 #define pgp_sub_packet_end nettle_pgp_sub_packet_end
57 #define pgp_put_public_rsa_key nettle_pgp_put_public_rsa_key
58 #define pgp_put_rsa_sha1_signature nettle_pgp_put_rsa_sha1_signature
59 #define pgp_put_userid nettle_pgp_put_userid
60 #define pgp_crc24 nettle_pgp_crc24
61 #define pgp_armor nettle_pgp_armor
88 unsigned tag,
unsigned length);
103 const uint8_t *data);
116 const uint8_t *keyid,
123 const uint8_t *name);
126 pgp_crc24(
unsigned length,
const uint8_t *data);
132 const uint8_t *data);
@ PGP_SUBPACKET_POLICY_URL
@ PGP_SUBPACKET_KEY_FLAGS
@ PGP_SUBPACKET_CREATION_TIME
@ PGP_SUBPACKET_PREFERRED_KEY_SERVER
@ PGP_SUBPACKET_PREFERRED_SYMMETRIC_ALGORITHMS
@ PGP_SUBPACKET_SIGNERS_USER_ID
@ PGP_SUBPACKET_REVOCATION_KEY
@ PGP_SUBPACKET_PREFERRED_HASH_ALGORITHMS
@ PGP_SUBPACKET_TRUST_SIGNATURE
@ PGP_SUBPACKET_EXPORTABLE_CERTIFICATION
@ PGP_SUBPACKET_KEY_SERVER_PREFERENCES
@ PGP_SUBPACKET_ISSUER_KEY_ID
@ PGP_SUBPACKET_NOTATION_DATA
@ PGP_SUBPACKET_PLACEHOLDER
@ PGP_SUBPACKET_REVOCABLE
@ PGP_SUBPACKET_KEY_EXPIRATION_TIME
@ PGP_SUBPACKET_REGULAR_EXPRESSION
@ PGP_SUBPACKET_PREFERRED_COMPRESSION_ALGORITHMS
@ PGP_SUBPACKET_PRIMARY_USER_ID
@ PGP_SUBPACKET_SIGNATURE_EXPIRATION_TIME
@ PGP_SUBPACKET_REASON_FOR_REVOCATION
#define pgp_put_public_rsa_key
#define pgp_put_rsa_sha1_signature
#define pgp_put_sub_packet
pgp_compression_algorithm
#define pgp_sub_packet_start
#define pgp_put_header_length
#define pgp_sub_packet_end
@ PGP_SIGN_REVOCATION_SUBKEY
@ PGP_SIGN_REVOCATION_CERTIFICATE
@ PGP_SIGN_CERTIFICATION_PERSONA
@ PGP_SIGN_CERTIFICATION_POSITIVE
@ PGP_SIGN_CERTIFICATION_CASUAL
@ PGP_TAG_SYMMETRIC_SESSION_KEY
@ PGP_TAG_ONE_PASS_SIGNATURE
@ PGP_TAG_PUBLIC_SESSION_KEY