| Top |
| enum | GMimeOpenPGPData |
| enum | GMimeOpenPGPState |
| GMimeOpenPGPMarker | |
| struct | GMimeFilterOpenPGP |
A GMimeFilter for detecting OpenPGP markers and filtering out any content outside the bounds of said markers.
GMimeFilter *
g_mime_filter_openpgp_new (void);
Creates a new GMimeFilterOpenPGP filter.
Since: 3.2
GMimeOpenPGPData
g_mime_filter_openpgp_get_data_type (GMimeFilterOpenPGP *openpgp);
Gets the type of OpenPGP data that has been detected.
Since: 3.2
gint64
g_mime_filter_openpgp_get_begin_offset
(GMimeFilterOpenPGP *openpgp);
Gets the stream offset of the beginning of the OpenPGP data block, if any have been found.
Since: 3.2
gint64
g_mime_filter_openpgp_get_end_offset (GMimeFilterOpenPGP *openpgp);
Gets the stream offset of the end of the OpenPGP data block, if any have been found.
Since: 3.2
The type of OpenPGP data found, if any.
The current state of the GMimeFilterOpenPGP filter.
|
No OpenPGP markers have been found (yet). |
||
|
The "-----BEGIN PGP MESSAGE-----" marker has been found. |
||
|
The "-----END PGP MESSAGE-----" marker has been found. |
||
|
The "-----BEGIN PGP SIGNED MESSAGE-----" marker has been found. |
||
|
The "-----BEGIN PGP SIGNATURE-----" marker has been found. |
||
|
The "-----END PGP SIGNATURE-----" marker has been found. |
||
|
The "-----BEGIN PGP PUBLIC KEY BLOCK-----" marker has been found. |
||
|
The "-----END PGP PUBLIC KEY BLOCK-----" marker has been found. |
||
|
The "-----BEGIN PGP PRIVATE KEY BLOCK-----" marker has been found. |
||
|
The "-----END PGP PRIVATE KEY BLOCK-----" marker has been found. |
Since: 3.2
typedef struct {
const char *marker;
size_t len;
GMimeOpenPGPState before;
GMimeOpenPGPState after;
gboolean is_end_marker;
} GMimeOpenPGPMarker;
An OpenPGP marker for use with GMime's internal state machines used for detecting OpenPGP blocks.
The OpenPGP marker. |
||
The length of the OpenPGP marker. |
||
GMimeOpenPGPState |
The GMimeOpenPGPState that the state machine must be in before encountering this marker. |
|
GMimeOpenPGPState |
The GMimeOpenPGPState that the state machine will transition into once this marker is found. |
|
|
Since: 3.2