diff libpurple/certificate.h @ 19080:3bdede51c007

- Expose get_unique_id and get_issuer_unique_id through libpurple functions
author William Ehlhardt <williamehlhardt@gmail.com>
date Tue, 07 Aug 2007 23:26:54 +0000
parents 8275c3cbc9da
children ddb5ad55f2d2
line wrap: on
line diff
--- a/libpurple/certificate.h	Tue Aug 07 20:29:35 2007 +0000
+++ b/libpurple/certificate.h	Tue Aug 07 23:26:54 2007 +0000
@@ -469,6 +469,24 @@
 GByteArray *
 purple_certificate_get_fingerprint_sha1(PurpleCertificate *crt);
 
+/**
+ * Get a unique identifier for the certificate
+ *
+ * @param crt        Certificate instance
+ * @return String representing the certificate uniquely. Must be g_free()'ed
+ */
+gchar *
+purple_certificate_get_unique_id(PurpleCertificate *crt);
+
+/**
+ * Get a unique identifier for the certificate's issuer
+ *
+ * @param crt        Certificate instance
+ * @return String representing the certificate's issuer uniquely. Must be
+ *         g_free()'ed
+ */
+gchar *
+purple_certificate_get_issuer_unique_id(PurpleCertificate *crt);
 
 /**
  * Gets the certificate subject's name