Home
last modified time | relevance | path

Searched refs:cert2 (Results 1 – 18 of 18) sorted by relevance

/external/tpm2-tss/test/integration/
Dfapi-ext-public-key.int.c179 char *cert2 = NULL; in test_fapi_ext_public_key() local
214 r = Fapi_GetCertificate(context, "/ext/myExtPubKey", &cert2); in test_fapi_ext_public_key()
217 if (strcmp(cert, cert2) != 0) { in test_fapi_ext_public_key()
247 SAFE_FREE(cert2); in test_fapi_ext_public_key()
262 SAFE_FREE(cert2); in test_fapi_ext_public_key()
/external/boringssl/src/crypto/pkcs8/
Dpkcs12_test.cc1941 bssl::UniquePtr<X509> cert2 = MakeTestCert(key2.get()); in TEST() local
1942 ASSERT_TRUE(cert2); in TEST()
1951 {cert1.get(), cert2.get(), cert3.get()})); in TEST()
1952 ExpectPKCS12Parse(p12, key1.get(), cert1.get(), {cert2.get(), cert3.get()}); in TEST()
1955 {cert3.get(), cert1.get(), cert2.get()})); in TEST()
1956 ExpectPKCS12Parse(p12, key1.get(), cert1.get(), {cert3.get(), cert2.get()}); in TEST()
1959 {cert2.get(), cert3.get(), cert1.get()})); in TEST()
1960 ExpectPKCS12Parse(p12, key1.get(), cert1.get(), {cert2.get(), cert3.get()}); in TEST()
1970 {cert1.get(), cert2.get(), cert3.get()})); in TEST()
1972 {cert1.get(), cert2.get(), cert3.get()}); in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dpkcs12_test.cc1941 bssl::UniquePtr<X509> cert2 = MakeTestCert(key2.get()); in TEST() local
1942 ASSERT_TRUE(cert2); in TEST()
1951 {cert1.get(), cert2.get(), cert3.get()})); in TEST()
1952 ExpectPKCS12Parse(p12, key1.get(), cert1.get(), {cert2.get(), cert3.get()}); in TEST()
1955 {cert3.get(), cert1.get(), cert2.get()})); in TEST()
1956 ExpectPKCS12Parse(p12, key1.get(), cert1.get(), {cert3.get(), cert2.get()}); in TEST()
1959 {cert2.get(), cert3.get(), cert1.get()})); in TEST()
1960 ExpectPKCS12Parse(p12, key1.get(), cert1.get(), {cert2.get(), cert3.get()}); in TEST()
1970 {cert1.get(), cert2.get(), cert3.get()})); in TEST()
1972 {cert1.get(), cert2.get(), cert3.get()}); in TEST()
[all …]
/external/webrtc/pc/
Ddtls_transport_unittest.cc76 auto cert2 = rtc::RTCCertificate::Create( in CompleteDtlsHandshake() local
78 fake_dtls2->SetLocalCertificate(cert2); in CompleteDtlsHandshake()
Ddtls_srtp_transport_unittest.cc103 auto cert2 = rtc::RTCCertificate::Create( in CompleteDtlsHandshake() local
105 fake_dtls2->SetLocalCertificate(cert2); in CompleteDtlsHandshake()
Djsep_transport_unittest.cc1056 auto cert2 = rtc::RTCCertificate::Create( in CreateJsepTransportPair() local
1058 jsep_transport2_->rtp_dtls_transport()->SetLocalCertificate(cert2); in CreateJsepTransportPair()
Dchannel_unittest.cc210 auto cert2 = rtc::RTCCertificate::Create( in CreateChannels() local
212 fake_rtp_dtls_transport2_->SetLocalCertificate(cert2); in CreateChannels()
214 fake_rtcp_dtls_transport2_->SetLocalCertificate(cert2); in CreateChannels()
/external/grpc-grpc/test/core/security/etc/
DBUILD20 "test_roots/cert2.pem",
/external/curl/lib/vtls/
Dnss.c958 CERTCertificate *cert2; in display_conn_info() local
985 cert2 = CERT_FindCertIssuer(cert, now, certUsageSSLCA); in display_conn_info()
986 while(cert2) { in display_conn_info()
988 if(cert2->isRoot) { in display_conn_info()
989 CERT_DestroyCertificate(cert2); in display_conn_info()
992 cert3 = CERT_FindCertIssuer(cert2, now, certUsageSSLCA); in display_conn_info()
993 CERT_DestroyCertificate(cert2); in display_conn_info()
994 cert2 = cert3; in display_conn_info()
1000 for(i = 0; cert; cert = cert2) { in display_conn_info()
1012 cert2 = CERT_FindCertIssuer(cert, now, certUsageSSLCA); in display_conn_info()
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java660 KeyHolder cert2 = generateCertificate(false, cert1); in testGenerateCertPath() local
661 KeyHolder cert3 = generateCertificate(false, cert2); in testGenerateCertPath()
665 certs.add(cert2.certificate); in testGenerateCertPath()
669 duplicatedCerts.add(cert2.certificate); in testGenerateCertPath()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java666 KeyHolder cert2 = generateCertificate(false, cert1); in testGenerateCertPath() local
667 KeyHolder cert3 = generateCertificate(false, cert2); in testGenerateCertPath()
671 certs.add(cert2.certificate); in testGenerateCertPath()
675 duplicatedCerts.add(cert2.certificate); in testGenerateCertPath()
/external/grpc-grpc/test/core/security/
DBUILD137 "//test/core/security/etc:test_roots/cert2.pem",
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_test.cc1419 bssl::UniquePtr<X509> cert2 = GetChainTestCertificate(); in TEST() local
1420 ASSERT_TRUE(cert1 && cert2); in TEST()
1422 X509_NAME *name2 = X509_get_subject_name(cert2.get()); in TEST()
1427 ASSERT_TRUE(SSL_add_client_CA(ssl.get(), cert2.get())); in TEST()
2595 bssl::UniquePtr<X509> cert2 = GetECDSATestCertificate(); in TEST_P() local
2596 ASSERT_TRUE(cert2); in TEST_P()
2608 ASSERT_TRUE(SSL_CTX_use_certificate(server_ctx2.get(), cert2.get())); in TEST_P()
2632 EXPECT_EQ(X509_cmp(peer.get(), cert2.get()), 0); in TEST_P()
3234 X509 *cert2 = SSL_CTX_get0_certificate(ctx.get()); in TEST() local
3235 ASSERT_TRUE(cert2); in TEST()
[all …]
/external/boringssl/src/ssl/
Dssl_test.cc1419 bssl::UniquePtr<X509> cert2 = GetChainTestCertificate(); in TEST() local
1420 ASSERT_TRUE(cert1 && cert2); in TEST()
1422 X509_NAME *name2 = X509_get_subject_name(cert2.get()); in TEST()
1427 ASSERT_TRUE(SSL_add_client_CA(ssl.get(), cert2.get())); in TEST()
2595 bssl::UniquePtr<X509> cert2 = GetECDSATestCertificate(); in TEST_P() local
2596 ASSERT_TRUE(cert2); in TEST_P()
2608 ASSERT_TRUE(SSL_CTX_use_certificate(server_ctx2.get(), cert2.get())); in TEST_P()
2632 EXPECT_EQ(X509_cmp(peer.get(), cert2.get()), 0); in TEST_P()
3234 X509 *cert2 = SSL_CTX_get0_certificate(ctx.get()); in TEST() local
3235 ASSERT_TRUE(cert2); in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_test.cc2040 bssl::UniquePtr<X509> cert2(d2i_X509_bio(bio.get(), nullptr)); in TEST() local
2041 ASSERT_TRUE(cert2); in TEST()
2042 EXPECT_EQ(0, X509_cmp(cert.get(), cert2.get())); in TEST()
/external/boringssl/src/crypto/x509/
Dx509_test.cc2233 bssl::UniquePtr<X509> cert2(d2i_X509_bio(bio.get(), nullptr)); in TEST() local
2234 ASSERT_TRUE(cert2); in TEST()
2235 EXPECT_EQ(0, X509_cmp(cert.get(), cert2.get())); in TEST()
/external/python/cryptography/tests/x509/
Dtest_x509.py980 cert2 = _load_cert(
985 assert cert == cert2
993 cert2 = _load_cert(
1001 assert cert != cert2
1010 cert2 = _load_cert(
1024 assert hash(cert1) == hash(cert2)
/external/python/pyopenssl/tests/
Dtest_crypto.py3047 cert2 = load_certificate(FILETYPE_ASN1, dumped_der)
3048 dumped_pem2 = dump_certificate(FILETYPE_PEM, cert2)