aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/x509.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-04-12 09:44:26 +0000
committerMartin Willi <martin@strongswan.org>2007-04-12 09:44:26 +0000
commita1b2d82db0499ecec2dee67bbed9d5412246af20 (patch)
tree663e7f224267e6a72eb4d4b825d54276fbb9b0f6 /src/libstrongswan/crypto/x509.h
parentdb97fd8298b95d266c4c9446a4924b7b12d35e09 (diff)
downloadstrongswan-a1b2d82db0499ecec2dee67bbed9d5412246af20.tar.bz2
strongswan-a1b2d82db0499ecec2dee67bbed9d5412246af20.tar.xz
removed %Q, %Y, %W, %U printf handlers
Diffstat (limited to 'src/libstrongswan/crypto/x509.h')
-rwxr-xr-xsrc/libstrongswan/crypto/x509.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/x509.h b/src/libstrongswan/crypto/x509.h
index a949d99d2..0e2d25ebb 100755
--- a/src/libstrongswan/crypto/x509.h
+++ b/src/libstrongswan/crypto/x509.h
@@ -257,7 +257,16 @@ struct x509_t {
* @return TRUE if self-signed
*/
bool (*is_self_signed) (const x509_t *this);
-
+
+ /**
+ * @brief Log the certificate info to out.
+ *
+ * @param this calling object
+ * @param out stream to write to
+ * @param utc TRUE for UTC times, FALSE for local time
+ */
+ void (*list)(x509_t *this, FILE *out, bool utc);
+
/**
* @brief Destroys the certificate.
*