Home
last modified time | relevance | path

Searched refs:cert (Results 551 - 575 of 1243) sorted by relevance

1...<<21222324252627282930>>...50

/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_certificate.cpp168 unsigned char cert[FILE_READ_CERT_LEN] = {}; in CertificateFromDer() local
169 size_t certLen = fread(cert, 1, FILE_READ_CERT_LEN, fp); in CertificateFromDer()
175 const auto *cert_data = reinterpret_cast<const unsigned char *>(cert); in CertificateFromDer()
199 NETSTACK_LOGE("Get CA cert as string failed"); in AnalysisCertificate()
/foundation/communication/netstack/test/fuzztest/netsslinner_fuzzer/
H A Dnetssl_inner_fuzzer.cpp162 X509 *cert = PemToX509(certBlob.data, certBlob.size); in SetFreeResourcesTest() local
165 FreeResources(&cert, &cert, &store, &ctx); in SetFreeResourcesTest()
/third_party/node/deps/openssl/openssl/include/crypto/
H A Dx509.h211 * This is a used when verifying cert chains. Since the gathering of the
212 * cert chain can take some time (and have to be 'retried', this needs to be
218 /* The cert to check */
219 X509 *cert; member
232 /* get issuers cert from ctx */
267 /* cert currently being tested as valid issuer */
313 int ossl_x509_print_ex_brief(BIO *bio, X509 *cert, unsigned long neg_cflags);
325 int ossl_x509_add_cert_new(STACK_OF(X509) **sk, X509 *cert, int flags); variable
/third_party/node/deps/openssl/openssl/crypto/ocsp/
H A Docsp_cl.c64 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert) in OCSP_request_add1_cert() argument
69 if (cert == NULL) in OCSP_request_add1_cert()
71 return ossl_x509_add_cert_new(&req->optionalSignature->certs, cert, in OCSP_request_add1_cert()
/third_party/node/deps/openssl/openssl/crypto/pkcs7/
H A Dpk7_asn1.c130 ASN1_IMP_SEQUENCE_OF_OPT(PKCS7_SIGNED, cert, X509, 0),
186 X509_free(ri->cert);
213 ASN1_IMP_SET_OF_OPT(PKCS7_SIGN_ENVELOPE, cert, X509, 0),
/third_party/openssl/test/
H A Dtls13ccstest.c16 static char *cert = NULL; variable
259 &sctx, &cctx, cert, privkey)) in test_tls13ccs()
500 if (!TEST_ptr(cert = test_get_argument(0)) in setup_tests()
H A Dasynciotest.c24 static char *cert = NULL; variable
302 &serverctx, &clientctx, cert, privkey))) in test_asyncio()
406 if (!TEST_ptr(cert = test_get_argument(0)) in setup_tests()
H A Ddanetest.c98 char *errtype = 0; /* if error: cert or pkey? */ in STACK_OF()
114 X509 *cert; in STACK_OF() local
117 if (!TEST_ptr(cert = d(0, &p, len)) in STACK_OF()
123 if (!TEST_true(sk_X509_push(chain, cert))) in STACK_OF()
/third_party/openssl/crypto/ocsp/
H A Docsp_cl.c64 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert) in OCSP_request_add1_cert() argument
69 if (cert == NULL) in OCSP_request_add1_cert()
71 return ossl_x509_add_cert_new(&req->optionalSignature->certs, cert, in OCSP_request_add1_cert()
/third_party/openssl/crypto/pkcs7/
H A Dpk7_asn1.c130 ASN1_IMP_SEQUENCE_OF_OPT(PKCS7_SIGNED, cert, X509, 0),
186 X509_free(ri->cert);
213 ASN1_IMP_SET_OF_OPT(PKCS7_SIGN_ENVELOPE, cert, X509, 0),
/third_party/openssl/include/crypto/
H A Dx509.h211 * This is a used when verifying cert chains. Since the gathering of the
212 * cert chain can take some time (and have to be 'retried', this needs to be
218 /* The cert to check */
219 X509 *cert; member
232 /* get issuers cert from ctx */
267 /* cert currently being tested as valid issuer */
313 int ossl_x509_print_ex_brief(BIO *bio, X509 *cert, unsigned long neg_cflags);
325 int ossl_x509_add_cert_new(STACK_OF(X509) **sk, X509 *cert, int flags); variable
/third_party/openssl/ohos_lite/include/openssl/
H A Dpkcs12.h196 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
199 X509 *cert, STACK_OF(X509) *ca, int nid_key, int nid_cert,
202 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert); variable
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
H A Ddcm_attest.c516 static int32_t IsValidAttestCert(struct HksAttestCert *cert) in IsValidAttestCert() argument
518 if (IsValidAttestTbs(&cert->tbs)) { in IsValidAttestCert()
522 if (IsValidTlv(cert->signAlg)) { in IsValidAttestCert()
526 if (IsValidTlv(cert->signature)) { in IsValidAttestCert()
530 if ((cert->signAlg.value.size != cert->tbs.signature.value.size) || in IsValidAttestCert()
531 (HksMemCmp(cert->signAlg.value.data, cert->tbs.signature.value.data, cert->signAlg.value.size) != 0)) { in IsValidAttestCert()
557 static void ParseAttestCert(const struct HksBlob *devCert, struct HksAttestCert *cert) in ParseAttestCert() argument
1419 struct HksBlob cert = { 0, NULL }; FormatCertToBuf() local
[all...]
/base/request/request/services/include/
H A Drequest_cert_mgr_adapter.h47 void FreeCertData(struct CRequestCert *cert);
/base/security/certificate_framework/frameworks/adapter/v1.0/inc/
H A Dx509_cert_chain_openssl_ex.h40 X509 *GetX509FromHcfX509Certificate(const HcfCertificate *cert);
/base/security/code_signature/interfaces/innerkits/local_code_sign/include/
H A Dlocal_code_sign_proxy.h31 int32_t InitLocalCertificate(const ByteBuffer &challenge, ByteBuffer &cert) override;
/base/security/code_signature/services/local_code_sign/include/
H A Dlocal_code_sign_service.h36 int32_t InitLocalCertificate(const ByteBuffer &challenge, ByteBuffer &cert) override;
/base/security/code_signature/utils/include/
H A Dcert_utils.h35 bool GetSigningCertFromCerChain(const HksCertChain *certChain, ByteBuffer cert);
H A Dopenssl_utils.h43 bool ConvertCertToPEMString(const ByteBuffer &cert, std::string &pemString);
H A Dpkcs7_data.h31 PKCS7Data(const EVP_MD *md, X509 *cert);
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_attest_interface.h45 SoftbusBlob cert[SOFTBUS_CERTS_COUNT]; member
/third_party/curl/lib/vtls/
H A Dx509asn1.h73 int Curl_parseX509(struct Curl_X509certificate *cert,
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dprivate-lib-tls-mbedtls.h31 mbedtls_x509_crt cert; /* has a .next for linked-list / chain */ member
/third_party/node/test/parallel/
H A Dtest-crypto-verify-failure.js36 cert: fixtures.readKey('agent1-cert.pem')
H A Dtest-http-request-agent.js17 cert: fixtures.readKey('agent1-cert.pem')

Completed in 14 milliseconds

1...<<21222324252627282930>>...50