aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials/certificates/pgp_certificate.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-11-08 23:21:03 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-11-08 23:21:03 +0100
commitab5762e32a528069d599d6aeabe12ba40c82e33e (patch)
tree47a9f872d9a84153d182aa5713be3e0c7d6ba84f /src/libstrongswan/credentials/certificates/pgp_certificate.h
parent9a127590aca2974bf7159e76cb6d13503704feab (diff)
downloadstrongswan-ab5762e32a528069d599d6aeabe12ba40c82e33e.tar.bz2
strongswan-ab5762e32a528069d599d6aeabe12ba40c82e33e.tar.xz
list v3 or v4 fingerprint
Diffstat (limited to 'src/libstrongswan/credentials/certificates/pgp_certificate.h')
-rw-r--r--src/libstrongswan/credentials/certificates/pgp_certificate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstrongswan/credentials/certificates/pgp_certificate.h b/src/libstrongswan/credentials/certificates/pgp_certificate.h
index 02807a860..94a31e14d 100644
--- a/src/libstrongswan/credentials/certificates/pgp_certificate.h
+++ b/src/libstrongswan/credentials/certificates/pgp_certificate.h
@@ -34,6 +34,13 @@ struct pgp_certificate_t {
* Implements certificate_t.
*/
certificate_t interface;
+
+ /**
+ * Get the v3 or v4 fingerprint of the PGP public key
+ *
+ * @return fingerprint as chunk_t, internal data
+ */
+ chunk_t (*get_fingerprint)(pgp_certificate_t *this);
};
#endif /** PGP_CERTIFICATE_H_ @}*/