Home
last modified time | relevance | path

Searched refs:cert (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/journal-remote/
Djournal-remote-main.c369 const char *cert, in setup_microhttpd_server() argument
413 assert(cert); in setup_microhttpd_server()
418 {MHD_OPTION_HTTPS_MEM_CERT, 0, (char*) cert}; in setup_microhttpd_server()
512 const char *cert, in setup_microhttpd_socket() argument
520 return setup_microhttpd_server(s, fd, key, cert, trust); in setup_microhttpd_socket()
595 const char* cert, in create_remoteserver() argument
630 r = setup_microhttpd_server(s, fd, key, cert, trust); in create_remoteserver()
703 r = setup_microhttpd_socket(s, arg_listen_https, key, cert, trust); in create_remoteserver()
1064 static int load_certificates(char **key, char **cert, char **trust) { in load_certificates() argument
1080 cert, NULL); in load_certificates()
[all …]
Dmicrohttpd-util.c194 gnutls_x509_crt_t cert; in get_client_cert() local
205 r = gnutls_x509_crt_init(&cert); in get_client_cert()
213 r = gnutls_x509_crt_import(cert, &pcert[0], GNUTLS_X509_FMT_DER); in get_client_cert()
216 gnutls_x509_crt_deinit(cert); in get_client_cert()
220 *client_cert = cert; in get_client_cert()
/systemd-251/src/cryptenroll/
Dcryptenroll-pkcs11.c23 _cleanup_(X509_freep) X509 *cert = NULL; in enroll_pkcs11()
35 … r = pkcs11_acquire_certificate(uri, "volume enrollment operation", "drive-harddisk", &cert, NULL); in enroll_pkcs11()
39 pkey = X509_get0_pubkey(cert); in enroll_pkcs11()
/systemd-251/src/home/
Dhomectl-pkcs11.c163 _cleanup_(X509_freep) X509 *cert = NULL; in identity_add_pkcs11_key_data()
169 r = acquire_pkcs11_certificate(uri, "home directory operation", "user-home", &cert, &pin); in identity_add_pkcs11_key_data()
173 pkey = X509_get0_pubkey(cert); in identity_add_pkcs11_key_data()
/systemd-251/src/shared/
Dpkcs11-util.c962 X509 *cert; member
968 X509_free(data->cert); in pkcs11_acquire_certificate_callback_data_release()
1001 r = pkcs11_token_read_x509_certificate(m, session, object, &data->cert); in pkcs11_acquire_certificate_callback()
1038 *ret_cert = TAKE_PTR(data.cert); in pkcs11_acquire_certificate()