Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/external/rust/crates/openssl/src/x509/
Dtests.rs35 let cert = include_bytes!("../../test/cert.pem"); in test_cert_loading() localVariable
36 let cert = X509::from_pem(cert).unwrap(); in test_cert_loading() localVariable
47 let cert = include_bytes!("../../test/cert.pem"); in test_debug() localVariable
48 let cert = X509::from_pem(cert).unwrap(); in test_debug() localVariable
63 let cert = include_bytes!("../../test/cert.pem"); in test_cert_issue_validity() localVariable
64 let cert = X509::from_pem(cert).unwrap(); in test_cert_issue_validity() localVariable
74 let cert = include_bytes!("../../test/cert.pem"); in test_save_der() localVariable
75 let cert = X509::from_pem(cert).unwrap(); in test_save_der() localVariable
83 let cert = include_bytes!("../../test/cert.pem"); in test_subject_read_cn() localVariable
84 let cert = X509::from_pem(cert).unwrap(); in test_subject_read_cn() localVariable
[all …]
/external/cronet/net/cert/pki/
Dtrust_store_in_memory.cc21 std::shared_ptr<const ParsedCertificate> cert) { in AddTrustAnchor()
26 std::shared_ptr<const ParsedCertificate> cert) { in AddTrustAnchorWithExpiration()
32 std::shared_ptr<const ParsedCertificate> cert) { in AddTrustAnchorWithConstraints()
39 std::shared_ptr<const ParsedCertificate> cert) { in AddDistrustedCertificateForTest()
44 std::shared_ptr<const ParsedCertificate> cert) { in AddCertificateWithUnspecifiedTrust()
48 void TrustStoreInMemory::SyncGetIssuersOf(const ParsedCertificate* cert, in SyncGetIssuersOf()
56 const ParsedCertificate* cert, in GetTrust()
71 std::shared_ptr<const ParsedCertificate> cert, in AddCertificate()
Dparsed_certificate_unittest.cc43 std::shared_ptr<const ParsedCertificate> cert = ParsedCertificate::Create( in ParseCertificateFromFile() local
71 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
87 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
151 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
165 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
223 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
241 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
258 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
277 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
287 std::shared_ptr<const ParsedCertificate> cert = in TEST() local
[all …]
Dverify_certificate_chain.cc69 void VerifyNoUnconsumedCriticalExtensions(const ParsedCertificate& cert, in VerifyNoUnconsumedCriticalExtensions()
92 [[nodiscard]] bool IsSelfIssued(const ParsedCertificate& cert) { in IsSelfIssued()
103 void VerifyTimeValidity(const ParsedCertificate& cert, in VerifyTimeValidity()
133 bool VerifySignatureAlgorithmsMatch(const ParsedCertificate& cert, in VerifySignatureAlgorithmsMatch()
173 void VerifyExtendedKeyUsage(const ParsedCertificate& cert, in VerifyExtendedKeyUsage()
790 void PathVerifier::VerifyPolicies(const ParsedCertificate& cert, in VerifyPolicies()
879 void PathVerifier::VerifyPolicyMappings(const ParsedCertificate& cert, in VerifyPolicyMappings()
956 void PathVerifier::ApplyPolicyConstraints(const ParsedCertificate& cert) { in ApplyPolicyConstraints()
993 const ParsedCertificate& cert, in BasicCertificateProcessing()
1068 void PathVerifier::PrepareForNextCertificate(const ParsedCertificate& cert, in PrepareForNextCertificate()
[all …]
Dcert_issuer_source_static.cc13 std::shared_ptr<const ParsedCertificate> cert) { in AddCert()
22 void CertIssuerSourceStatic::SyncGetIssuersOf(const ParsedCertificate* cert, in SyncGetIssuersOf()
31 const ParsedCertificate* cert, in AsyncGetIssuersOf()
/external/python/cpython3/Lib/test/
Dmake_ssl_certs.py228 cert, key = make_cert_key('localhost', ext='req_x509_extensions_simple') variable
246 cert, key = make_cert_key('fakehostname', ext='req_x509_extensions_simple') variable
251 cert, key = make_cert_key('localhost', sign=True) variable
256 cert, key = make_cert_key('fakehostname', sign=True) variable
261 cert, key = make_cert_key( variable
282 cert, key = make_cert_key('allsans', sign=True, extra_san='\n'.join(extra_san)) variable
299 cert, key = make_cert_key('idnsans', sign=True, extra_san='\n'.join(extra_san)) variable
304 cert, key = make_cert_key('nosan', sign=True, ext='req_x509_extensions_nosan') variable
/external/python/cpython2/Lib/test/
Dmake_ssl_certs.py163 cert, key = make_cert_key('localhost') variable
181 cert, key = make_cert_key('fakehostname') variable
186 cert, key = make_cert_key('localhost', True) variable
191 cert, key = make_cert_key('fakehostname', True) variable
210 cert, key = make_cert_key('allsans', extra_san='\n'.join(extra_san)) variable
/external/cronet/net/tools/cert_verify_tool/
Dverify_using_path_builder.cc46 bool AddPemEncodedCert(const net::ParsedCertificate* cert, in AddPemEncodedCert()
62 for (const auto& cert : path.certs) { in DumpParsedCertificateChain() local
71 std::string FingerPrintParsedCertificate(const net::ParsedCertificate* cert) { in FingerPrintParsedCertificate()
84 std::string SubjectFromParsedCertificate(const net::ParsedCertificate* cert) { in SubjectFromParsedCertificate()
100 for (const auto& cert : result_path->certs) { in PrintResultPath() local
132 std::shared_ptr<const net::ParsedCertificate> cert = in ParseCertificate() local
163 std::shared_ptr<const net::ParsedCertificate> cert = in VerifyUsingPathBuilder() local
181 std::shared_ptr<const net::ParsedCertificate> cert = in VerifyUsingPathBuilder() local
Dcert_verify_tool_util.cc37 CertInput cert; in ExtractCertificatesFromData() local
55 CertInput cert; in ExtractCertificatesFromData() local
67 CertInput cert; in ExtractCertificatesFromData() local
119 void PrintCertError(const std::string& error, const CertInput& cert) { in PrintCertError()
144 std::string SubjectFromX509Certificate(const net::X509Certificate* cert) { in SubjectFromX509Certificate()
149 scoped_refptr<net::X509Certificate> cert = in SubjectFromCryptoBuffer() local
/external/cronet/net/cert/internal/
Dcert_issuer_source_aia_unittest.cc63 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
77 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
94 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
116 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
128 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
160 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
192 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
224 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
269 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
293 std::shared_ptr<const ParsedCertificate> cert; in TEST() local
[all …]
Dtrust_store_android.cc42 void SyncGetIssuersOf(const ParsedCertificate* cert, in SyncGetIssuersOf()
48 CertificateTrust GetTrust(const ParsedCertificate* cert, in GetTrust()
109 void TrustStoreAndroid::SyncGetIssuersOf(const ParsedCertificate* cert, in SyncGetIssuersOf()
115 const ParsedCertificate* cert, in GetTrust()
Dtrust_store_chrome.cc74 bssl::UniquePtr<CRYPTO_BUFFER> cert; in TrustStoreChrome() local
105 void TrustStoreChrome::SyncGetIssuersOf(const ParsedCertificate* cert, in SyncGetIssuersOf()
111 const ParsedCertificate* cert, in GetTrust()
136 bssl::UniquePtr<CRYPTO_BUFFER> cert = in CompiledChromeRootStoreAnchors() local
/external/cronet/net/cert/
Dx509_util_nss.cc180 const X509Certificate* cert) { in CreateCERTCertificateFromX509Certificate()
186 const X509Certificate* cert) { in CreateCERTCertificateListFromX509Certificate()
192 const X509Certificate* cert, in CreateCERTCertificateListFromX509Certificate()
223 for (const scoped_refptr<X509Certificate>& cert : certs) { in CreateCERTCertificateListFromBytes() local
233 ScopedCERTCertificate DupCERTCertificate(CERTCertificate* cert) { in DupCERTCertificate()
241 for (const ScopedCERTCertificate& cert : certs) in DupCERTCertificateList() local
277 CERTCertificate* cert) { in CreateX509CertificateFromCERTCertificate()
286 for (const ScopedCERTCertificate& cert : certs) { in CreateX509CertificateListFromCERTCertificates() local
296 bool GetDEREncoded(CERTCertificate* cert, std::string* der_encoded) { in GetDEREncoded()
304 bool GetPEMEncoded(CERTCertificate* cert, std::string* pem_encoded) { in GetPEMEncoded()
[all …]
Dnss_cert_database.cc76 bool IsUntrustedUsingTrustStore(const CERTCertificate* cert, in IsUntrustedUsingTrustStore()
103 ScopedCERTCertificate cert, in ImportCertFailure()
166 bool NSSCertDatabase::IsCertificateOnSlot(CERTCertificate* cert, in IsCertificateOnSlot()
209 bool NSSCertDatabase::SetCertTrust(CERTCertificate* cert, in SetCertTrust()
281 int NSSCertDatabase::ImportUserCert(CERTCertificate* cert) { in ImportUserCert()
315 const CERTCertificate* cert, in GetCertTrust()
361 bool NSSCertDatabase::DeleteCertAndKey(CERTCertificate* cert) { in DeleteCertAndKey()
368 void NSSCertDatabase::DeleteCertAndKeyAsync(ScopedCERTCertificate cert, in DeleteCertAndKeyAsync()
380 bool NSSCertDatabase::IsUntrusted(const CERTCertificate* cert) { in IsUntrusted()
433 bool NSSCertDatabase::IsWebTrustAnchor(const CERTCertificate* cert) { in IsWebTrustAnchor()
[all …]
Dx509_util_unittest.cc36 scoped_refptr<X509Certificate> cert(X509Certificate::CreateFromBytes( in TEST() local
145 scoped_refptr<X509Certificate> cert = X509Certificate::CreateFromBytes( in TEST() local
218 scoped_refptr<X509Certificate> cert = in TEST() local
326 scoped_refptr<X509Certificate> cert = in TEST() local
442 scoped_refptr<X509Certificate> cert = in TEST() local
553 scoped_refptr<X509Certificate> cert = in TEST() local
653 scoped_refptr<X509Certificate> cert = in TEST() local
725 const char* cert; in TEST() member
771 scoped_refptr<X509Certificate> cert = in TEST() local
Dasn1_util.cc153 bool ExtractExtensionWithOID(base::StringPiece cert, in ExtractExtensionWithOID()
185 bool ExtractSubjectFromDERCert(base::StringPiece cert, in ExtractSubjectFromDERCert()
197 bool ExtractSPKIFromDERCert(base::StringPiece cert, in ExtractSPKIFromDERCert()
238 bool HasCanSignHttpExchangesDraftExtension(base::StringPiece cert) { in HasCanSignHttpExchangesDraftExtension()
259 base::StringPiece cert, in ExtractSignatureAlgorithmsFromDERCert()
310 bool ExtractExtensionFromDERCert(base::StringPiece cert, in ExtractExtensionFromDERCert()
Dmock_client_cert_verifier.cc17 scoped_refptr<X509Certificate> cert; member
25 int MockClientCertVerifier::Verify(X509Certificate* cert, in Verify()
36 void MockClientCertVerifier::AddResultForCert(X509Certificate* cert, int rv) { in AddResultForCert()
/external/conscrypt/common/src/main/java/org/conscrypt/
DTrustedCertificateIndex.java55 public TrustAnchor index(X509Certificate cert) { in index()
63 X509Certificate cert = anchor.getTrustedCert(); in index() local
102 public TrustAnchor findByIssuerAndSignature(X509Certificate cert) { in findByIssuerAndSignature()
129 public TrustAnchor findBySubjectAndPublicKey(X509Certificate cert) { in findBySubjectAndPublicKey()
140 private static TrustAnchor findBySubjectAndPublicKey(X509Certificate cert, in findBySubjectAndPublicKey()
175 public Set<TrustAnchor> findAllByIssuerAndSignature(X509Certificate cert) { in findAllByIssuerAndSignature()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DTrustedCertificateIndex.java59 public TrustAnchor index(X509Certificate cert) { in index()
67 X509Certificate cert = anchor.getTrustedCert(); in index() local
107 public TrustAnchor findByIssuerAndSignature(X509Certificate cert) { in findByIssuerAndSignature()
135 public TrustAnchor findBySubjectAndPublicKey(X509Certificate cert) { in findBySubjectAndPublicKey()
146 private static TrustAnchor findBySubjectAndPublicKey(X509Certificate cert, in findBySubjectAndPublicKey()
182 public Set<TrustAnchor> findAllByIssuerAndSignature(X509Certificate cert) { in findAllByIssuerAndSignature()
/external/rust/crates/x509-cert/tests/
Dpkix_extensions.rs156 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
483 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
668 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
675 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
682 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
689 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
696 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
703 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
710 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
718 let cert: Certificate = result.unwrap(); in decode_cert() localVariable
[all …]
/external/cronet/net/ssl/
Dclient_cert_identity_test_util.cc21 scoped_refptr<X509Certificate> cert, in FakeClientCertIdentity()
33 scoped_refptr<X509Certificate> cert = in CreateFromCertAndKeyFiles() local
61 scoped_refptr<X509Certificate> cert = in CreateFromCertAndFailSigning() local
83 for (const auto& cert : certs) { in FakeClientCertIdentityListFromCertificateList() local
/external/wpa_supplicant_8/src/tls/
Dx509v3.c45 void x509_certificate_free(struct x509_certificate *cert) in x509_certificate_free()
67 void x509_certificate_chain_free(struct x509_certificate *cert) in x509_certificate_chain_free()
217 struct x509_certificate *cert, in x509_parse_public_key()
687 struct x509_certificate *cert, const u8 **next) in x509_parse_validity()
765 static int x509_parse_ext_key_usage(struct x509_certificate *cert, in x509_parse_ext_key_usage()
798 static int x509_parse_ext_basic_constraints(struct x509_certificate *cert, in x509_parse_ext_basic_constraints()
1049 static int x509_parse_ext_subject_alt_name(struct x509_certificate *cert, in x509_parse_ext_subject_alt_name()
1073 static int x509_parse_ext_issuer_alt_name(struct x509_certificate *cert, in x509_parse_ext_issuer_alt_name()
1146 static int x509_parse_ext_certificate_policies(struct x509_certificate *cert, in x509_parse_ext_certificate_policies()
1270 static int x509_parse_ext_ext_key_usage(struct x509_certificate *cert, in x509_parse_ext_ext_key_usage()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DRFC3280CertPathUtilities.java103 Object cert, in processCRLB2()
286 Object cert, in processCRLB1()
447 Object cert, in processCRLF()
760 Object cert, in processCRLI()
774 Object cert, in processCRLJ()
793 X509Certificate cert = (X509Certificate)certs.get(index); in prepareCertB() local
977 X509Certificate cert = (X509Certificate)certs.get(index); in prepareNextCertA() local
1053 X509Certificate cert = (X509Certificate)certs.get(index); in processCertE() local
1083 X509Certificate cert = (X509Certificate)certs.get(index); in processCertBC() local
1190 X509Certificate cert = (X509Certificate)certs.get(index); in processCertD() local
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DRFC3280CertPathUtilities.java104 Object cert, in processCRLB2()
287 Object cert, in processCRLB1()
448 Object cert, in processCRLF()
761 Object cert, in processCRLI()
775 Object cert, in processCRLJ()
794 X509Certificate cert = (X509Certificate)certs.get(index); in prepareCertB() local
978 X509Certificate cert = (X509Certificate)certs.get(index); in prepareNextCertA() local
1054 X509Certificate cert = (X509Certificate)certs.get(index); in processCertE() local
1084 X509Certificate cert = (X509Certificate)certs.get(index); in processCertBC() local
1191 X509Certificate cert = (X509Certificate)certs.get(index); in processCertD() local
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DRFC3280CertPathUtilities.java104 Object cert, in processCRLB2()
287 Object cert, in processCRLB1()
448 Object cert, in processCRLF()
761 Object cert, in processCRLI()
775 Object cert, in processCRLJ()
794 X509Certificate cert = (X509Certificate)certs.get(index); in prepareCertB() local
978 X509Certificate cert = (X509Certificate)certs.get(index); in prepareNextCertA() local
1054 X509Certificate cert = (X509Certificate)certs.get(index); in processCertE() local
1084 X509Certificate cert = (X509Certificate)certs.get(index); in processCertBC() local
1191 X509Certificate cert = (X509Certificate)certs.get(index); in processCertD() local
[all …]

12345678910>>...21