NeoMutt  2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
pgppacket.h
Go to the documentation of this file.
1 
23 /* Definitions for a rudimentary PGP packet parser which is shared by neomutt
24  * proper and the PGP public key ring lister.
25  */
26 
27 #ifndef MUTT_NCRYPT_PGPPACKET_H
28 #define MUTT_NCRYPT_PGPPACKET_H
29 
30 #include <stdio.h>
31 
36 {
37  PT_RES0 = 0,
54 };
55 
56 unsigned char *pgp_read_packet(FILE *fp, size_t *len);
57 void pgp_release_packet(void);
58 
59 #endif /* MUTT_NCRYPT_PGPPACKET_H */
PT_NAME
@ PT_NAME
Name Packet.
Definition: pgppacket.h:50
PT_TRUST
@ PT_TRUST
Trust Packet.
Definition: pgppacket.h:49
PT_SUBKEY
@ PT_SUBKEY
Subkey Packet.
Definition: pgppacket.h:51
PT_MARKER
@ PT_MARKER
Marker Packet.
Definition: pgppacket.h:47
pgp_release_packet
void pgp_release_packet(void)
Free the cached PGP packet.
Definition: pgppacket.c:239
PT_OPS
@ PT_OPS
One-Pass Signature Packet.
Definition: pgppacket.h:41
PT_SUBSECKEY
@ PT_SUBSECKEY
Secret Subkey Packet.
Definition: pgppacket.h:44
pgp_read_packet
unsigned char * pgp_read_packet(FILE *fp, size_t *len)
Read a PGP packet from a file.
Definition: pgppacket.c:84
PT_SKE
@ PT_SKE
Symmetrically Encrypted Data Packet.
Definition: pgppacket.h:46
PT_SECKEY
@ PT_SECKEY
Secret Key Packet.
Definition: pgppacket.h:42
PT_COMMENT
@ PT_COMMENT
Comment Packet.
Definition: pgppacket.h:53
PT_SIG
@ PT_SIG
Signature Packet.
Definition: pgppacket.h:39
PT_LITERAL
@ PT_LITERAL
Literal Data Packet.
Definition: pgppacket.h:48
PT_PUBKEY
@ PT_PUBKEY
Public Key Packet.
Definition: pgppacket.h:43
PT_RES0
@ PT_RES0
reserved
Definition: pgppacket.h:37
PacketTags
PacketTags
PGP packet types.
Definition: pgppacket.h:35
PT_RES15
@ PT_RES15
Reserved.
Definition: pgppacket.h:52
PT_COMPRESSED
@ PT_COMPRESSED
Compressed Data Packet.
Definition: pgppacket.h:45
PT_ESK
@ PT_ESK
Encrypted Session Key.
Definition: pgppacket.h:38
PT_CESK
@ PT_CESK
Conventionally Encrypted Session Key Packet.
Definition: pgppacket.h:40