Home
last modified time | relevance | path

Searched refs:cert_handle (Results 1 – 25 of 64) sorted by relevance

123

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/common/net/
H A Dx509_certificate_model_nss.cc86 if (cert_handle->nickname) { in GetNickname()
87 name = cert_handle->nickname; in GetNickname()
127 return GetNickname(cert_handle); in GetCertNameOrNickname()
134 if (cert_handle->version.len == 0 || in GetVersion()
142 return psm::GetCertType(cert_handle); in GetType()
147 psm::GetCertUsageStrings(cert_handle, usages); in GetUsageStrings()
187 bool GetTimes(CERTCertificate* cert_handle, in GetTimes() argument
193 string GetTitle(CERTCertificate* cert_handle) { in GetTitle() argument
194 return psm::GetCertTitle(cert_handle); in GetTitle()
198 return psm::ProcessName(&cert_handle->issuer); in GetIssuerName()
[all …]
H A Dx509_certificate_model_nss.h28 std::string GetVersion(CERTCertificate* cert_handle);
30 net::CertType GetType(CERTCertificate* cert_handle);
32 void GetUsageStrings(CERTCertificate* cert_handle,
41 std::string GetIssuerOrgName(CERTCertificate* cert_handle,
59 bool GetTimes(CERTCertificate* cert_handle,
63 std::string GetTitle(CERTCertificate* cert_handle);
64 std::string GetIssuerName(CERTCertificate* cert_handle);
65 std::string GetSubjectName(CERTCertificate* cert_handle);
76 CERTCertificate* cert_handle,
81 std::string HashCertSHA256(CERTCertificate* cert_handle);
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/common/net/
H A Dx509_certificate_model_nss.cc88 if (cert_handle->nickname) { in GetNickname()
89 name = cert_handle->nickname; in GetNickname()
129 return GetNickname(cert_handle); in GetCertNameOrNickname()
136 if (cert_handle->version.len == 0 || in GetVersion()
144 return psm::GetCertType(cert_handle); in GetType()
149 psm::GetCertUsageStrings(cert_handle, usages); in GetUsageStrings()
189 bool GetTimes(CERTCertificate* cert_handle, in GetTimes() argument
195 string GetTitle(CERTCertificate* cert_handle) { in GetTitle() argument
196 return psm::GetCertTitle(cert_handle); in GetTitle()
200 return psm::ProcessName(&cert_handle->issuer); in GetIssuerName()
[all …]
H A Dx509_certificate_model_nss.h29 std::string GetVersion(CERTCertificate* cert_handle);
31 net::CertType GetType(CERTCertificate* cert_handle);
33 void GetUsageStrings(CERTCertificate* cert_handle,
42 std::string GetIssuerOrgName(CERTCertificate* cert_handle,
60 bool GetTimes(CERTCertificate* cert_handle,
64 std::string GetTitle(CERTCertificate* cert_handle);
65 std::string GetIssuerName(CERTCertificate* cert_handle);
66 std::string GetSubjectName(CERTCertificate* cert_handle);
77 CERTCertificate* cert_handle,
82 std::string HashCertSHA256(CERTCertificate* cert_handle);
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/network/
H A Dcertificate_helper.cc34 std::string GetNickname(CERTCertificate* cert_handle) { in GetNickname() argument
35 if (!cert_handle->nickname) in GetNickname()
37 std::string name = cert_handle->nickname; in GetNickname()
48 net::CertType GetCertType(CERTCertificate* cert_handle) { in GetCertType() argument
50 CERT_GetCertTrust(cert_handle, &trust); in GetCertType()
55 if (cert_handle->nickname && (all_flags & CERTDB_USER)) in GetCertType()
68 std::string GetCertTokenName(CERTCertificate* cert_handle) { in GetCertTokenName() argument
70 if (cert_handle->slot) in GetCertTokenName()
71 token = PK11_GetTokenName(cert_handle->slot); in GetCertTokenName()
80 std::string name = GetCertAsciiNameOrNickname(cert_handle); in GetCertNameOrNickname()
[all …]
H A Dcertificate_helper.h21 net::CertType GetCertType(CERTCertificate* cert_handle);
26 std::string GetCertTokenName(CERTCertificate* cert_handle);
32 std::string GetIssuerDisplayName(CERTCertificate* cert_handle);
40 std::string GetCertNameOrNickname(CERTCertificate* cert_handle);
45 std::string GetCertAsciiSubjectCommonName(CERTCertificate* cert_handle);
51 std::string GetCertAsciiNameOrNickname(CERTCertificate* cert_handle);
/dports/www/firefox-esr/firefox-91.8.0/security/nss/gtests/softoken_gtest/
H A Dsoftoken_nssckbi_testlib_gtest.cc55 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
56 ASSERT_TRUE(cert_handle); in TEST_F()
58 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
75 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
76 ASSERT_TRUE(cert_handle); in TEST_F()
78 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
105 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
106 ASSERT_TRUE(cert_handle); in TEST_F()
108 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
/dports/security/ca_root_nss/nss-3.71/nss/gtests/softoken_gtest/
H A Dsoftoken_nssckbi_testlib_gtest.cc55 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
56 ASSERT_TRUE(cert_handle); in TEST_F()
58 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
75 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
76 ASSERT_TRUE(cert_handle); in TEST_F()
78 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
105 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
106 ASSERT_TRUE(cert_handle); in TEST_F()
108 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
/dports/www/firefox/firefox-99.0/security/nss/gtests/softoken_gtest/
H A Dsoftoken_nssckbi_testlib_gtest.cc55 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
56 ASSERT_TRUE(cert_handle); in TEST_F()
58 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
75 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
76 ASSERT_TRUE(cert_handle); in TEST_F()
78 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
105 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
106 ASSERT_TRUE(cert_handle); in TEST_F()
108 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
/dports/security/nss/nss-3.76.1/nss/gtests/softoken_gtest/
H A Dsoftoken_nssckbi_testlib_gtest.cc55 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
56 ASSERT_TRUE(cert_handle); in TEST_F()
58 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
75 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
76 ASSERT_TRUE(cert_handle); in TEST_F()
78 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
105 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
106 ASSERT_TRUE(cert_handle); in TEST_F()
108 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/gtests/softoken_gtest/
H A Dsoftoken_nssckbi_testlib_gtest.cc55 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
56 ASSERT_TRUE(cert_handle); in TEST_F()
58 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
75 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
76 ASSERT_TRUE(cert_handle); in TEST_F()
78 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
105 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
106 ASSERT_TRUE(cert_handle); in TEST_F()
108 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/gtests/softoken_gtest/
H A Dsoftoken_nssckbi_testlib_gtest.cc55 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
56 ASSERT_TRUE(cert_handle); in TEST_F()
58 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
75 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
76 ASSERT_TRUE(cert_handle); in TEST_F()
78 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
105 CERTCertDBHandle *cert_handle = CERT_GetDefaultCertDB(); in TEST_F() local
106 ASSERT_TRUE(cert_handle); in TEST_F()
108 CERT_FindCertByNickname(cert_handle, kCertNickname)); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/cert/
H A Dx509_util_win.cc37 bssl::UniquePtr<CRYPTO_BUFFER> cert_handle( in CreateX509CertificateFromCertContexts() local
41 if (!cert_handle) in CreateX509CertificateFromCertContexts()
58 std::move(cert_handle), std::move(intermediates), options)); in CreateX509CertificateFromCertContexts()
121 bool IsSelfSigned(PCCERT_CONTEXT cert_handle) { in IsSelfSigned() argument
124 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), in IsSelfSigned()
126 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), 0, in IsSelfSigned()
131 &cert_handle->pCertInfo->Subject, in IsSelfSigned()
132 &cert_handle->pCertInfo->Issuer); in IsSelfSigned()
H A Dcert_verify_proc_nss.cc387 SECOidTag GetFirstCertPolicy(CERTCertificate* cert_handle);
402 SECStatus PKIXVerifyCert(CERTCertificate* cert_handle, in PKIXVerifyCert() argument
572 SECOidTag policy = GetFirstCertPolicy(cert_handle); in RetryPKIXVerifyCertWithWorkarounds()
599 CERTCertificate* cert_handle) { in DecodeCertPolicies() argument
601 SECStatus rv = CERT_FindCertExtension(cert_handle, in DecodeCertPolicies()
696 CERTCertificate* cert_handle, in IsEVCandidate() argument
699 DCHECK(cert_handle); in IsEVCandidate()
731 bool VerifyEV(CERTCertificate* cert_handle, in VerifyEV() argument
753 cert_handle, in VerifyEV()
836 CERTCertificate* cert_handle = input_chain[0].get(); in VerifyInternalImpl() local
[all …]
H A Dtest_root_certs_nss.cc27 ScopedCERTCertificate cert_handle = in Add() local
29 if (!cert_handle) in Add()
34 SECStatus rv = CERT_GetCertTrust(cert_handle.get(), &original_trust); in Add()
53 rv = CERT_ChangeCertTrust(CERT_GetDefaultCertDB(), cert_handle.get(), in Add()
61 std::make_unique<TrustEntry>(std::move(cert_handle), original_trust)); in Add()
H A Dx509_util_mac.cc58 bool IsValidSecCertificate(SecCertificateRef cert_handle) { in IsValidSecCertificate() argument
60 OSStatus status = SecCertificateGetSubject(cert_handle, &sanity_check); in IsValidSecCertificate()
71 base::ScopedCFTypeRef<SecCertificateRef> cert_handle; in CreateSecCertificateFromBytes() local
74 cert_handle.InitializeInto()); in CreateSecCertificateFromBytes()
77 if (!IsValidSecCertificate(cert_handle.get())) in CreateSecCertificateFromBytes()
79 return cert_handle; in CreateSecCertificateFromBytes()
101 bssl::UniquePtr<CRYPTO_BUFFER> cert_handle( in CreateX509CertificateFromSecCertificate() local
104 if (!cert_handle) in CreateX509CertificateFromSecCertificate()
121 std::move(cert_handle), std::move(intermediates), options)); in CreateX509CertificateFromSecCertificate()
H A Dx509_util_ios.cc41 bssl::UniquePtr<CRYPTO_BUFFER> cert_handle( in CreateX509CertificateFromSecCertificate() local
45 if (!cert_handle) in CreateX509CertificateFromSecCertificate()
63 std::move(cert_handle), std::move(intermediates))); in CreateX509CertificateFromSecCertificate()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/cert/
H A Dx509_util_win.cc38 bssl::UniquePtr<CRYPTO_BUFFER> cert_handle( in CreateX509CertificateFromCertContexts() local
42 if (!cert_handle) in CreateX509CertificateFromCertContexts()
59 std::move(cert_handle), std::move(intermediates), options)); in CreateX509CertificateFromCertContexts()
122 bool IsSelfSigned(PCCERT_CONTEXT cert_handle) { in IsSelfSigned() argument
125 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), in IsSelfSigned()
127 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), 0, in IsSelfSigned()
132 &cert_handle->pCertInfo->Subject, in IsSelfSigned()
133 &cert_handle->pCertInfo->Issuer); in IsSelfSigned()
H A Dx509_util_mac.cc57 bool IsValidSecCertificate(SecCertificateRef cert_handle) { in IsValidSecCertificate() argument
59 OSStatus status = SecCertificateGetSubject(cert_handle, &sanity_check); in IsValidSecCertificate()
70 base::ScopedCFTypeRef<SecCertificateRef> cert_handle; in CreateSecCertificateFromBytes() local
73 cert_handle.InitializeInto()); in CreateSecCertificateFromBytes()
76 if (!IsValidSecCertificate(cert_handle.get())) in CreateSecCertificateFromBytes()
78 return cert_handle; in CreateSecCertificateFromBytes()
100 bssl::UniquePtr<CRYPTO_BUFFER> cert_handle( in CreateX509CertificateFromSecCertificate() local
103 if (!cert_handle) in CreateX509CertificateFromSecCertificate()
120 std::move(cert_handle), std::move(intermediates), options)); in CreateX509CertificateFromSecCertificate()
H A Dx509_util_ios.cc41 bssl::UniquePtr<CRYPTO_BUFFER> cert_handle( in CreateX509CertificateFromSecCertificate() local
45 if (!cert_handle) in CreateX509CertificateFromSecCertificate()
63 std::move(cert_handle), std::move(intermediates))); in CreateX509CertificateFromSecCertificate()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-app-pkix-cert.c97 dissector_handle_t cert_handle; in proto_reg_handoff_cert() local
99 cert_handle = create_dissector_handle(dissect_cert, proto_cert); in proto_reg_handoff_cert()
102 dissector_add_string("media_type", "application/pkix-cert", cert_handle); in proto_reg_handoff_cert()
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-app-pkix-cert.c97 dissector_handle_t cert_handle; in proto_reg_handoff_cert() local
99 cert_handle = create_dissector_handle(dissect_cert, proto_cert); in proto_reg_handoff_cert()
102 dissector_add_string("media_type", "application/pkix-cert", cert_handle); in proto_reg_handoff_cert()
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-app-pkix-cert.c97 dissector_handle_t cert_handle; in proto_reg_handoff_cert() local
99 cert_handle = create_dissector_handle(dissect_cert, proto_cert); in proto_reg_handoff_cert()
102 dissector_add_string("media_type", "application/pkix-cert", cert_handle); in proto_reg_handoff_cert()
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-app-pkix-cert.c97 dissector_handle_t cert_handle;
99 cert_handle = create_dissector_handle(dissect_cert, proto_cert);
102 dissector_add_string("media_type", "application/pkix-cert", cert_handle);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/ssl/
H A Dclient_cert_store_mac.cc54 OSStatus CopyCertChain(SecCertificateRef cert_handle, in CopyCertChain() argument
56 DCHECK(cert_handle); in CopyCertChain()
68 NULL, const_cast<const void**>(reinterpret_cast<void**>(&cert_handle)), in CopyCertChain()
269 ScopedCFTypeRef<SecCertificateRef> cert_handle; in AddIdentity() local
271 cert_handle.InitializeInto()); in AddIdentity()
275 if (!SupportsSSLClientAuth(cert_handle.get())) in AddIdentity()
283 x509_util::CreateX509CertificateFromSecCertificate(cert_handle.get(), {}, in AddIdentity()

123