InfCertUtil

InfCertUtil

Synopsis

GPtrArray *         inf_cert_util_load_file             (const gchar *filename,
                                                         GPtrArray *current,
                                                         GError **error);
gboolean            inf_cert_util_save_file             (gnutls_x509_crt_t *certs,
                                                         guint n_certs,
                                                         const gchar *file,
                                                         GError **error);
int                 inf_cert_util_copy                  (gnutls_x509_crt_t *dest,
                                                         gnutls_x509_crt_t src);
gchar *             inf_cert_util_get_dn_by_oid         (gnutls_x509_crt_t cert,
                                                         const char *oid,
                                                         unsigned int index);
gchar *             inf_cert_util_get_issuer_dn_by_oid  (gnutls_x509_crt_t crt,
                                                         const char *oid,
                                                         unsigned int index);
gchar *             inf_cert_util_get_hostname          (gnutls_x509_crt_t cert);
gchar *             inf_cert_util_get_activation_time   (gnutls_x509_crt_t cert);
gchar *             inf_cert_util_get_expiration_time   (gnutls_x509_crt_t cert);
gchar *             inf_cert_util_get_fingerprint       (gnutls_x509_crt_t cert,
                                                         gnutls_digest_algorithm_t algo);
gchar *             inf_cert_util_get_serial_number     (gnutls_x509_crt_t cert);

Description

Details

inf_cert_util_load_file ()

GPtrArray *         inf_cert_util_load_file             (const gchar *filename,
                                                         GPtrArray *current,
                                                         GError **error);

filename :

current :

error :

Returns :


inf_cert_util_save_file ()

gboolean            inf_cert_util_save_file             (gnutls_x509_crt_t *certs,
                                                         guint n_certs,
                                                         const gchar *file,
                                                         GError **error);

certs :

n_certs :

file :

error :

Returns :


inf_cert_util_copy ()

int                 inf_cert_util_copy                  (gnutls_x509_crt_t *dest,
                                                         gnutls_x509_crt_t src);

dest :

src :

Returns :


inf_cert_util_get_dn_by_oid ()

gchar *             inf_cert_util_get_dn_by_oid         (gnutls_x509_crt_t cert,
                                                         const char *oid,
                                                         unsigned int index);

cert :

oid :

index :

Returns :


inf_cert_util_get_issuer_dn_by_oid ()

gchar *             inf_cert_util_get_issuer_dn_by_oid  (gnutls_x509_crt_t crt,
                                                         const char *oid,
                                                         unsigned int index);

crt :

oid :

index :

Returns :


inf_cert_util_get_hostname ()

gchar *             inf_cert_util_get_hostname          (gnutls_x509_crt_t cert);

cert :

Returns :


inf_cert_util_get_activation_time ()

gchar *             inf_cert_util_get_activation_time   (gnutls_x509_crt_t cert);

cert :

Returns :


inf_cert_util_get_expiration_time ()

gchar *             inf_cert_util_get_expiration_time   (gnutls_x509_crt_t cert);

cert :

Returns :


inf_cert_util_get_fingerprint ()

gchar *             inf_cert_util_get_fingerprint       (gnutls_x509_crt_t cert,
                                                         gnutls_digest_algorithm_t algo);

cert :

algo :

Returns :


inf_cert_util_get_serial_number ()

gchar *             inf_cert_util_get_serial_number     (gnutls_x509_crt_t cert);

cert :

Returns :