Home
last modified time | relevance | path

Searched refs:cert (Results 251 - 275 of 1210) sorted by relevance

1...<<11121314151617181920>>...49

/third_party/node/benchmark/tls/
H A Dsecure-pair.js22 cert: fixtures.readKey('rsa_cert.crt'),
39 cert: options.cert,
/third_party/openssl/test/
H A Dsslbuffertest.c157 char *cert, *pkey; in setup_tests() local
164 if (!TEST_ptr(cert = test_get_argument(0)) in setup_tests()
170 &serverctx, &clientctx, cert, pkey)) { in setup_tests()
H A Drecordlentest.c15 static char *cert = NULL; variable
107 &sctx, &cctx, cert, privkey))) in test_record_overflow()
193 if (!TEST_ptr(cert = test_get_argument(0)) in setup_tests()
H A Dpkcs7_test.c56 X509 *cert = NULL; in pkcs7_verify_test() local
78 && TEST_ptr(cert = d2i_X509_bio(x509_bio, NULL)) in pkcs7_verify_test()
81 && TEST_true(X509_STORE_add_cert(store, cert)) in pkcs7_verify_test()
88 X509_free(cert); in pkcs7_verify_test()
/third_party/node/lib/
H A D_tls_wrap.js807 // Clients (!isServer) always request a cert, servers request a client cert
1121 // It's not a peer cert, but the formatting is identical.
1130 const cert = this._handle?.getPeerX509Certificate();
1131 return cert ? new InternalX509Certificate(cert) : undefined;
1135 const cert = this._handle?.getX509Certificate();
1136 return cert ? new InternalX509Certificate(cert) : undefined;
1245 // cert fro
[all...]
/base/security/code_signature/test/unittest/
H A Dlocal_code_sign_test.cpp59 ByteBuffer cert; in HWTEST_F() local
61 int ret = LocalCodeSignKit::InitLocalCertificate(cert); in HWTEST_F()
74 ByteBuffer cert; in HWTEST_F() local
75 int ret = LocalCodeSignKit::InitLocalCertificate(cert); in HWTEST_F()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_request.cpp192 std::string &cert, std::string &certType, std::string &key, SecureChar &keyPasswd) in SetClientCert()
194 cert_ = cert; in SetClientCert()
206 std::string &cert, std::string &certType, std::string &key, SecureChar &keyPasswd) in GetClientCert()
208 cert = cert_; in GetClientCert()
191 SetClientCert( std::string &cert, std::string &certType, std::string &key, SecureChar &keyPasswd) SetClientCert() argument
205 GetClientCert( std::string &cert, std::string &certType, std::string &key, SecureChar &keyPasswd) GetClientCert() argument
/foundation/communication/netstack/frameworks/js/napi/http/options/src/
H A Dhttp_request_options.cpp205 std::string &cert, std::string &certType, std::string &key, Secure::SecureChar &keyPasswd) in SetClientCert()
207 cert_ = cert; in SetClientCert()
219 std::string &cert, std::string &certType, std::string &key, Secure::SecureChar &keyPasswd) in GetClientCert()
221 cert = cert_; in GetClientCert()
204 SetClientCert( std::string &cert, std::string &certType, std::string &key, Secure::SecureChar &keyPasswd) SetClientCert() argument
218 GetClientCert( std::string &cert, std::string &certType, std::string &key, Secure::SecureChar &keyPasswd) GetClientCert() argument
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dpkcs7.rs15 pub cert: *mut stack_st_X509, /* [ 0 ] */
39 pub cert: *mut stack_st_X509, /* [ 0 ] */
141 pub cert: *mut X509, /* get the pub-key from this */
193 cert: *mut X509, in PKCS7_decrypt()
/third_party/lwip/src/apps/altcp_tls/
H A Daltcp_tls_mbedtls.c99 mbedtls_x509_crt *cert; member
703 conf->cert = mem; in altcp_tls_create_config()
802 const u8_t *cert, size_t cert_len) in altcp_tls_config_server_add_privkey_cert()
815 srvcert = config->cert + config->cert_count; in altcp_tls_config_server_add_privkey_cert()
822 ret = mbedtls_x509_crt_parse(srvcert, cert, cert_len); in altcp_tls_config_server_add_privkey_cert()
855 const u8_t *cert, size_t cert_len) in altcp_tls_create_config_server_privkey_cert()
863 privkey_pass, privkey_pass_len, cert, cert_len) != ERR_OK) { in altcp_tls_create_config_server_privkey_cert()
906 const u8_t *cert, size_t cert_len) in altcp_tls_create_config_client_2wayauth()
911 if (!cert || !privkey) { in altcp_tls_create_config_client_2wayauth()
922 mbedtls_x509_crt_init(conf->cert); in altcp_tls_create_config_client_2wayauth()
799 altcp_tls_config_server_add_privkey_cert(struct altcp_tls_config *config, const u8_t *privkey, size_t privkey_len, const u8_t *privkey_pass, size_t privkey_pass_len, const u8_t *cert, size_t cert_len) altcp_tls_config_server_add_privkey_cert() argument
853 altcp_tls_create_config_server_privkey_cert(const u8_t *privkey, size_t privkey_len, const u8_t *privkey_pass, size_t privkey_pass_len, const u8_t *cert, size_t cert_len) altcp_tls_create_config_server_privkey_cert() argument
904 altcp_tls_create_config_client_2wayauth(const u8_t *ca, size_t ca_len, const u8_t *privkey, size_t privkey_len, const u8_t *privkey_pass, size_t privkey_pass_len, const u8_t *cert, size_t cert_len) altcp_tls_create_config_client_2wayauth() argument
[all...]
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
H A Dcm_ipc_client_serialization.c135 CM_LOG_E("get cert subjectName failed"); in GetInfoFromX509Cert()
141 CM_LOG_E("get cert issuerName failed"); in GetInfoFromX509Cert()
147 CM_LOG_E("get cert serial failed"); in GetInfoFromX509Cert()
153 CM_LOG_E("get cert notBefore failed"); in GetInfoFromX509Cert()
159 CM_LOG_E("get cert notAfter failed"); in GetInfoFromX509Cert()
165 CM_LOG_E("get cert fingerprintSha256 failed"); in GetInfoFromX509Cert()
173 X509 *cert = InitCertContext(cInfo->certInfo.data, cInfo->certInfo.size); in GetInfoFromCertData() local
174 if (cert == NULL) { in GetInfoFromCertData()
175 CM_LOG_E("Parse X509 cert fail"); in GetInfoFromCertData()
179 int32_t ret = GetInfoFromX509Cert(cert, cInf in GetInfoFromCertData()
[all...]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
H A Ddlp_file.h151 void GetEncryptCert(struct DlpBlob& cert) const;
152 void GetOfflineCert(struct DlpBlob& cert) const;
153 int32_t UpdateCertAndText(const std::vector<uint8_t>& cert, const std::string& workDir, struct DlpBlob certBlob);
155 int32_t SetEncryptCert(const struct DlpBlob& cert);
221 int32_t UpdateFile(int tmpFile, const std::vector<uint8_t>& cert, uint32_t oldTxtOffset);
/third_party/ffmpeg/libavformat/
H A Dtls_gnutls.c184 "Unable to set cert/key files %s and %s: %s\n", in tls_open()
190 av_log(h, AV_LOG_ERROR, "cert and key required\n"); in tls_open()
211 gnutls_x509_crt_t cert; in tls_open() local
229 gnutls_x509_crt_init(&cert); in tls_open()
231 gnutls_x509_crt_import(cert, cert_list, GNUTLS_X509_FMT_DER); in tls_open()
232 ret = gnutls_x509_crt_check_hostname(cert, c->host); in tls_open()
233 gnutls_x509_crt_deinit(cert); in tls_open()
/third_party/node/deps/openssl/openssl/apps/
H A Dcmp.c286 "Private or public key for the requested cert. Default: CSR key or client key"},
289 "Distinguished Name (DN) of subject to use in the requested cert template"},
291 "For kur, default is subject of -csr arg or reference cert (see -oldcert)"},
305 "Subject Alt Names (IPADDR/DNS/URI) to add as (critical) cert req extension"},
336 "Certificate to be updated (defaulting to -cert) or to be revoked in rr;"},
338 "also used as reference (defaulting to -cert) for subject DN and SANs."},
363 "DN of CA. Default: subject of -srvcert, -issuer, issuer of -oldcert or -cert"},
380 "Server cert to pin and trust directly when verifying signed CMP responses"},
384 "Ignore CMP signer cert key usage, else 'digitalSignature' must be allowed"},
398 "Reference value to use as senderKID in case no -cert i
684 X509 *cert; load_cert_pwd() local
1108 X509 *cert = load_cert_pwd(opt_rsp_cert, opt_keypass, setup_srv_ctx() local
1273 X509 *cert; setup_ssl_ctx() local
1451 X509 *cert; setup_protection_ctx() local
2028 write_cert(BIO *bio, X509 *cert) write_cert() argument
[all...]
/third_party/openssl/apps/
H A Dcmp.c286 "Private or public key for the requested cert. Default: CSR key or client key"},
289 "Distinguished Name (DN) of subject to use in the requested cert template"},
291 "For kur, default is subject of -csr arg or reference cert (see -oldcert)"},
305 "Subject Alt Names (IPADDR/DNS/URI) to add as (critical) cert req extension"},
336 "Certificate to be updated (defaulting to -cert) or to be revoked in rr;"},
338 "also used as reference (defaulting to -cert) for subject DN and SANs."},
363 "DN of CA. Default: subject of -srvcert, -issuer, issuer of -oldcert or -cert"},
380 "Server cert to pin and trust directly when verifying signed CMP responses"},
384 "Ignore CMP signer cert key usage, else 'digitalSignature' must be allowed"},
398 "Reference value to use as senderKID in case no -cert i
684 X509 *cert; load_cert_pwd() local
1108 X509 *cert = load_cert_pwd(opt_rsp_cert, opt_keypass, setup_srv_ctx() local
1273 X509 *cert; setup_ssl_ctx() local
1451 X509 *cert; setup_protection_ctx() local
2028 write_cert(BIO *bio, X509 *cert) write_cert() argument
[all...]
/base/security/code_signature/utils/include/
H A Dsigner_info.h37 bool InitSignerInfo(const std::string &ownerID, X509 *cert, const EVP_MD *md, const ByteBuffer &contentData,
47 int GetSignAlgorithmID(const X509 *cert);
/base/security/code_signature/utils/src/
H A Dpkcs7_data.cpp29 PKCS7Data::PKCS7Data(const EVP_MD *md, X509 *cert) in PKCS7Data() argument
30 : cert_(cert), md_(md) in PKCS7Data()
/base/security/dlp_permission_service/frameworks/common/src/
H A Dcert_parcel.cpp42 if (!data.WriteUInt8Vector(this->cert)) { in Marshalling()
74 if (!data.ReadUInt8Vector(&parcel->cert)) { in Unmarshalling()
75 DLP_LOG_ERROR(LABEL, "Read cert fail"); in Unmarshalling()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/include/
H A Ddlp_permission_async_stub.h36 void OnGenerateDlpCertificate(int32_t result, const std::vector<uint8_t>& cert) override;
38 const std::vector<uint8_t>& cert) override;
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Ddlp_cert_parcel_test.cpp66 info.cert = {1, 2, 3}; in HWTEST_F()
83 info.cert = {1, 2, 3}; in HWTEST_F()
/third_party/node/test/parallel/
H A Dtest-https-client-checkServerIdentity.js33 cert: fixtures.readKey('agent3-cert.pem')
48 ca: [fixtures.readKey('ca2-cert.pem')]
60 ca: [fixtures.readKey('ca2-cert.pem')],
61 checkServerIdentity: function(host, cert) {
H A Dtest-tls-handshake-exception.js24 const cert = fixtures.readKey('rsa_cert.crt');
46 const options = { key, cert };
H A Dtest-tls-net-socket-keepalive.js14 const cert = fixtures.readKey('agent1-cert.pem');
15 const ca = fixtures.readKey('ca1-cert.pem');
18 cert,
H A Dtest-tls-socket-close.js25 const cert = fixtures.readKey('agent2-cert.pem');
29 const tlsServer = tls.createServer({ cert, key }, (socket) => {
H A Dtest-tls-startcom-wosign-whitelist.js21 cert: loadPEM('agent8-cert')
24 ca: loadPEM('fake-startcom-root-cert'),
34 cert: loadPEM('agent9-cert')
37 ca: loadPEM('fake-startcom-root-cert'),

Completed in 16 milliseconds

1...<<11121314151617181920>>...49