Home
last modified time | relevance | path

Searched refs:pem_cert (Results 1 – 12 of 12) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/api/
DFapi_SetCertificate.c143 strdup_check(command->pem_cert, x509certData, r, error_cleanup); in Fapi_SetCertificate_Async()
145 command->pem_cert = NULL; in Fapi_SetCertificate_Async()
160 SAFE_FREE(command->pem_cert); in Fapi_SetCertificate_Async()
200 const char ** pem_cert = &command->pem_cert; in Fapi_SetCertificate_Finish() local
210 if (!*pem_cert) { in Fapi_SetCertificate_Finish()
213 strdup_check(*pem_cert_dup, *pem_cert, r, error_cleanup); in Fapi_SetCertificate_Finish()
251 SAFE_FREE(command->pem_cert); in Fapi_SetCertificate_Finish()
DFapi_Provision.c456 (unsigned char **)&command->pem_cert, &cert_size); in Fapi_Provision_Finish()
463 r = ifapi_get_public_from_pem_cert(command->pem_cert, &public_key); in Fapi_Provision_Finish()
575 command->pem_cert = NULL; in Fapi_Provision_Finish()
595 r = ifapi_cert_to_pem(certData, certSize, &command->pem_cert, in Fapi_Provision_Finish()
607 SAFE_FREE(command->pem_cert); in Fapi_Provision_Finish()
640 r = ifapi_verify_ek_cert(command->root_crt, command->intermed_crt, command->pem_cert); in Fapi_Provision_Finish()
650 strdup_check(pkeyObject->misc.key.certificate, command->pem_cert, r, error_cleanup); in Fapi_Provision_Finish()
651 SAFE_FREE(command->pem_cert); in Fapi_Provision_Finish()
941 r = ifapi_cert_to_pem(cert_buffer, cert_size, &command->pem_cert, in Fapi_Provision_Finish()
963 SAFE_FREE(command->pem_cert); in Fapi_Provision_Finish()
DFapi_Finalize.c73 SAFE_FREE((*context)->cmd.Provision.pem_cert); in Fapi_Finalize()
/external/tpm2-tss/src/tss2-fapi/
Dfapi_crypto.h102 const char* pem_cert,
Dfapi_crypto.c1789 *get_X509_from_pem(const char *pem_cert) in get_X509_from_pem() argument
1791 if (!pem_cert) { in get_X509_from_pem()
1798 size_t pem_length = strlen(pem_cert); in get_X509_from_pem()
1799 bufio = BIO_new_mem_buf((void *)pem_cert, pem_length); in get_X509_from_pem()
1820 ifapi_get_public_from_pem_cert(const char* pem_cert, TPM2B_PUBLIC *tpm_public) in ifapi_get_public_from_pem_cert() argument
1826 cert = get_X509_from_pem(pem_cert); in ifapi_get_public_from_pem_cert()
Dfapi_int.h298 const char *pem_cert; /**< The certifificate in pem or format */ member
466 char *pem_cert; member
Dfapi_util.c3772 context->cmd.Provision.pem_cert = NULL; in ifapi_get_certificates()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dssl_transport_security.h362 const char* pem_cert, tsi_peer* peer);
Dssl_transport_security.cc836 const char* pem_cert, tsi_peer* peer) { in tsi_ssl_extract_x509_subject_names_from_pem_cert() argument
840 pem = BIO_new_mem_buf(pem_cert, static_cast<int>(strlen(pem_cert))); in tsi_ssl_extract_x509_subject_names_from_pem_cert()
/external/python/cryptography/docs/x509/
Docsp.rst9 pem_cert = b"""
174 >>> cert = load_pem_x509_certificate(pem_cert, default_backend())
312 >>> cert = load_pem_x509_certificate(pem_cert, default_backend())
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc697 static tsi_result extract_x509_subject_names_from_pem_cert(const char* pem_cert, in extract_x509_subject_names_from_pem_cert() argument
702 pem = BIO_new_mem_buf((void*)pem_cert, static_cast<int>(strlen(pem_cert))); in extract_x509_subject_names_from_pem_cert()
/external/tpm2-tss/doc/
Ddoxygen.dox1648 \fn TSS2_RC ifapi_get_public_from_pem_cert(const char* pem_cert, TPM2B_PUBLIC *tpm_public)