Lines Matching defs:x509_cert
656 gnutls_x509_crt x509_cert,x509_issuer;
736 gnutls_x509_crt_init(&x509_cert);
740 gnutls_x509_crt_import(x509_cert, chainp, GNUTLS_X509_FMT_DER);
746 rc = gnutls_x509_crt_check_issuer(x509_cert,x509_issuer);
758 rc = gnutls_x509_crt_get_dn_by_oid(x509_cert, GNUTLS_OID_X520_COMMON_NAME,
773 rc = gnutls_x509_crt_check_hostname(x509_cert, conn->host.name);
779 gnutls_x509_crt_deinit(x509_cert);
790 certclock = gnutls_x509_crt_get_expiration_time(x509_cert);
808 certclock = gnutls_x509_crt_get_activation_time(x509_cert);
838 algo = gnutls_x509_crt_get_pk_algorithm(x509_cert, &bits);
844 gnutls_x509_crt_get_version(x509_cert));
848 gnutls_x509_crt_get_dn(x509_cert, certbuf, &size);
851 certclock = gnutls_x509_crt_get_activation_time(x509_cert);
854 certclock = gnutls_x509_crt_get_expiration_time(x509_cert);
858 gnutls_x509_crt_get_issuer_dn(x509_cert, certbuf, &size);
861 gnutls_x509_crt_deinit(x509_cert);