Home
last modified time | relevance | path

Searched refs:x509_cert (Results 1 – 3 of 3) sorted by relevance

/external/curl/lib/vtls/
Dgtls.c816 gnutls_x509_crt_t x509_cert, x509_issuer; in gtls_connect_step3() local
1033 gnutls_x509_crt_init(&x509_cert); in gtls_connect_step3()
1038 gnutls_x509_crt_import(x509_cert, chainp, GNUTLS_X509_FMT_DER); in gtls_connect_step3()
1044 rc = gnutls_x509_crt_check_issuer(x509_cert, x509_issuer); in gtls_connect_step3()
1050 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1058 rc = gnutls_x509_crt_get_dn_by_oid(x509_cert, GNUTLS_OID_X520_COMMON_NAME, in gtls_connect_step3()
1073 rc = gnutls_x509_crt_check_hostname(x509_cert, hostname); in gtls_connect_step3()
1099 int ret = gnutls_x509_crt_get_subject_alt_name(x509_cert, i, certaddr, in gtls_connect_step3()
1120 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1131 certclock = gnutls_x509_crt_get_expiration_time(x509_cert); in gtls_connect_step3()
[all …]
/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl05.c41 static const char x509_cert[] = variable
194 x509_cert, sizeof(x509_cert)); in do_test()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py790 x509_cert = self._lib.X509_new()
791 x509_cert = self._ffi.gc(x509_cert, backend._lib.X509_free)
794 res = self._lib.X509_set_version(x509_cert, builder._version.value)
799 x509_cert, _encode_name_gc(self, builder._subject_name)
805 x509_cert, builder._public_key._evp_pkey
811 res = self._lib.X509_set_serialNumber(x509_cert, serial_number)
816 self._lib.X509_get_notBefore(x509_cert), builder._not_valid_before
821 self._lib.X509_get_notAfter(x509_cert), builder._not_valid_after
828 x509_obj=x509_cert,
835 x509_cert, _encode_name_gc(self, builder._issuer_name)
[all …]