Home
last modified time | relevance | path

Searched refs:certificates (Results 1 – 25 of 113) sorted by relevance

12345

/external/chromium_org/chrome/app/test_data/
Dcert_maker.bat5 del /q certificates\*
10 -sv certificates\AuthorityCert.pvk certificates\AuthorityCert.cer
15 -sv certificates\OtherAuthorityCert.pvk ^
16 certificates\OtherAuthorityCert.cer
21 -sv certificates\SelfSigned.pvk certificates\SelfSigned.cer
23 pvk2pfx -pvk certificates\SelfSigned.pvk -spc certificates\SelfSigned.cer ^
24 -pfx certificates\SelfSigned.pfx
26 signtool sign /v /f certificates\SelfSigned.pfx dlls\self_signed.dll
31 -ic certificates\AuthorityCert.cer -iv certificates\AuthorityCert.pvk ^
32 -sv certificates\ValidCert.pvk certificates\ValidCert.cer
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCollectionCertStoreParametersTest.java87 Vector certificates = new Vector(); in testCollectionCertStoreParametersCollection01() local
88 certificates.add(new MyCertificate("TEST", new byte[] {})); in testCollectionCertStoreParametersCollection01()
89 new CollectionCertStoreParameters(certificates); in testCollectionCertStoreParametersCollection01()
103 Vector certificates = new Vector(); in testCollectionCertStoreParametersCollection02() local
104 certificates.add(new String("Not a Certificate")); in testCollectionCertStoreParametersCollection02()
105 new CollectionCertStoreParameters(certificates); in testCollectionCertStoreParametersCollection02()
118 Vector certificates = new Vector(); in testCollectionCertStoreParametersCollection03() local
121 new CollectionCertStoreParameters(certificates); in testCollectionCertStoreParametersCollection03()
123 assertTrue("isRefUsed_1", certificates == cp.getCollection()); in testCollectionCertStoreParametersCollection03()
127 certificates.add(new MyCertificate("TEST", new byte[] {(byte)1})); in testCollectionCertStoreParametersCollection03()
[all …]
/external/chromium/net/base/
Dcert_database_nss.cc177 const CertificateList& certificates) const { in FindRootInList()
178 DCHECK_GT(certificates.size(), 0U); in FindRootInList()
180 if (certificates.size() == 1) in FindRootInList()
181 return certificates[0].get(); in FindRootInList()
183 X509Certificate* cert0 = certificates[0]; in FindRootInList()
184 X509Certificate* cert1 = certificates[1]; in FindRootInList()
185 X509Certificate* certn_2 = certificates[certificates.size() - 2]; in FindRootInList()
186 X509Certificate* certn_1 = certificates[certificates.size() - 1]; in FindRootInList()
199 bool CertDatabase::ImportCACerts(const CertificateList& certificates, in ImportCACerts() argument
202 X509Certificate* root = FindRootInList(certificates); in ImportCACerts()
[all …]
Dcert_database.h131 X509Certificate* FindRootInList(const CertificateList& certificates) const;
140 bool ImportCACerts(const CertificateList& certificates,
152 bool ImportServerCert(const CertificateList& certificates,
Dx509_certificate.cc289 OSCertHandles certificates; in CreateCertificateListFromBytes() local
314 certificates.push_back(handle); in CreateCertificateListFromBytes()
322 for (size_t i = 0; certificates.empty() && in CreateCertificateListFromBytes()
325 certificates = CreateOSCertHandlesFromBytes(decoded.c_str(), in CreateCertificateListFromBytes()
341 for (size_t i = 0; certificates.empty() && in CreateCertificateListFromBytes()
344 certificates = CreateOSCertHandlesFromBytes(data, length, in CreateCertificateListFromBytes()
350 if (certificates.empty()) in CreateCertificateListFromBytes()
353 for (OSCertHandles::iterator it = certificates.begin(); in CreateCertificateListFromBytes()
354 it != certificates.end(); ++it) { in CreateCertificateListFromBytes()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPKIXCertPath.java63 private List certificates; field in PKIXCertPath
158 PKIXCertPath(List certificates) in PKIXCertPath() argument
161 this.certificates = sortCerts(new ArrayList(certificates)); in PKIXCertPath()
186 certificates = new ArrayList(); in PKIXCertPath()
192 certificates.add(0, certFactory.generateCertificate( in PKIXCertPath()
199 certificates = new ArrayList(); in PKIXCertPath()
204 certificates.add(cert); in PKIXCertPath()
221 this.certificates = sortCerts(certificates); in PKIXCertPath()
276 ListIterator iter = certificates.listIterator(certificates.size()); in getEncoded()
289 for (int i = 0; i != certificates.size(); i++) in getEncoded()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DSignedData.java32 private ASN1Set certificates; field in SignedData
56 ASN1Set certificates, in SignedData() argument
60 … this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); in SignedData()
63 this.certificates = certificates; in SignedData()
67 this.certsBer = certificates instanceof BERSet; in SignedData()
211 certificates = ASN1Set.getInstance(tagged, false); in SignedData()
245 return certificates; in getCertificates()
279 if (certificates != null) in toASN1Primitive()
283 v.add(new BERTaggedObject(false, 0, certificates)); in toASN1Primitive()
287 v.add(new DERTaggedObject(false, 0, certificates)); in toASN1Primitive()
/external/chromium_org/net/cert/
Dnss_cert_database.cc139 const CertificateList& certificates) const { in FindRootInList()
140 DCHECK_GT(certificates.size(), 0U); in FindRootInList()
142 if (certificates.size() == 1) in FindRootInList()
143 return certificates[0].get(); in FindRootInList()
145 X509Certificate* cert0 = certificates[0].get(); in FindRootInList()
146 X509Certificate* cert1 = certificates[1].get(); in FindRootInList()
147 X509Certificate* certn_2 = certificates[certificates.size() - 2].get(); in FindRootInList()
148 X509Certificate* certn_1 = certificates[certificates.size() - 1].get(); in FindRootInList()
161 bool NSSCertDatabase::ImportCACerts(const CertificateList& certificates, in ImportCACerts() argument
165 X509Certificate* root = FindRootInList(certificates); in ImportCACerts()
[all …]
Dnss_cert_database.h144 X509Certificate* FindRootInList(const CertificateList& certificates) const;
153 bool ImportCACerts(const CertificateList& certificates,
167 bool ImportServerCert(const CertificateList& certificates,
/external/chromium/chrome/browser/ui/cocoa/
Dcertificate_viewer.mm22 base::mac::ScopedCFTypeRef<CFMutableArrayRef> certificates(
24 if (!certificates.get()) {
28 CFArrayAppendValue(certificates, cert_mac);
30 // Server certificate must be first in the array; subsequent certificates
35 CFArrayAppendValue(certificates, ca_certs[i]);
42 certificates:reinterpret_cast<NSArray*>(certificates.get())
/external/okhttp/src/test/java/com/squareup/okhttp/internal/tls/
DFakeSSLSession.java27 private final Certificate[] certificates; field in FakeSSLSession
29 public FakeSSLSession(Certificate... certificates) throws Exception { in FakeSSLSession() argument
30 this.certificates = certificates; in FakeSSLSession()
66 if (certificates.length == 0) { in getPeerCertificates()
69 return certificates; in getPeerCertificates()
/external/chromium_org/net/third_party/mozilla_security_manager/
DnsNSSCertificateDB.cpp63 const net::CertificateList& certificates, in ImportCACerts() argument
67 if (!slot || certificates.empty() || !root) in ImportCACerts()
112 for (size_t i = 0; i < certificates.size(); i++) { in ImportCACerts()
113 const scoped_refptr<net::X509Certificate>& cert = certificates[i]; in ImportCACerts()
173 const net::CertificateList& certificates, in ImportServerCert() argument
176 if (!slot || certificates.empty()) in ImportServerCert()
179 for (size_t i = 0; i < certificates.size(); ++i) { in ImportServerCert()
180 const scoped_refptr<net::X509Certificate>& cert = certificates[i]; in ImportServerCert()
201 SetCertTrust(certificates[0].get(), net::SERVER_CERT, trustBits); in ImportServerCert()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DSignedData.java25 private ASN1Set certificates; field in SignedData
55 certificates = _certificates; in SignedData()
84 certificates = ASN1Set.getInstance(tagged, false); in SignedData()
117 return certificates; in getCertificates()
153 if (certificates != null) in toASN1Primitive()
155 v.add(new DERTaggedObject(false, 0, certificates)); in toASN1Primitive()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
DMyCertPath.java40 private final Vector certificates; field in MyCertPath
59 certificates = new Vector(); in MyCertPath()
60 certificates.add(new MyCertificate("MyEncoding", encoding)); in MyCertPath()
70 return Collections.unmodifiableList(certificates); in getCertificates()
/external/chromium_org/chrome/browser/
Dcertificate_manager_model.cc116 const net::CertificateList& certificates, in ImportCACerts() argument
119 bool result = cert_db_->ImportCACerts(certificates, trust_bits, not_imported); in ImportCACerts()
120 if (result && not_imported->size() != certificates.size()) in ImportCACerts()
126 const net::CertificateList& certificates, in ImportServerCert() argument
129 bool result = cert_db_->ImportServerCert(certificates, trust_bits, in ImportServerCert()
131 if (result && not_imported->size() != certificates.size()) in ImportServerCert()
/external/chromium_org/net/data/ssl/certificates/
DREADME1 This directory contains various certificates for use with SSL-related
49 certificates are provided.
64 different intermediate CA certificates. The two intermediate CA
65 certificates actually represent the same intermediate CA but have
151 net/data/ssl/scripts/generate-client-certificates.sh
152 - client_1_ca.pem and client_2_ca.pem are the certificates of
162 Two code-signing certificates (eKU: codeSigning; eKU: critical,
172 Two certificates from the same issuer that share the same common name,
174 requires that certificates have unique nicknames if they do not share the
175 same subject, and these certificates are used to test that the nickname
[all …]
/external/chromium_org/third_party/tlslite/patches/
Dparse_chain.patch22 """This class represents a chain of X.509 certificates.
39 + """Simple iterator over PEM-encoded certificates within a string.
42 + @ivar data: A string containing PEM-encoded (Base64) certificates,
52 + """The PEM encoding block header for X.509 certificates."""
55 + """The PEM encoding block footer for X.509 certificates."""
89 """Get the number of certificates in this chain.
/external/chromium_org/net/third_party/nss/patches/
Dpeercertchain2.patch10 +** Return the certificates presented by the SSL peer. If the SSL peer
11 +** did not present certificates, return NULL with the
25 -** Return references to the certificates presented by the SSL peer.
27 -** return, |*numCerts| contains the number of certificates available and
28 -** |certs| will contain references to as many certificates as would fit.
30 -** |maxNumCerts|, then all certificates were returned.
Dpeercertchain.patch53 +** Return references to the certificates presented by the SSL peer.
55 +** return, |*numCerts| contains the number of certificates available and
56 +** |certs| will contain references to as many certificates as would fit.
58 +** |maxNumCerts|, then all certificates were returned.
/external/chromium_org/net/data/ssl/scripts/
Dgenerate-duplicate-cn-certs.sh116 echo Exporting the certificates to PKCS#12
121 -out ../certificates/duplicate_cn_1.p12 \
128 -out ../certificates/duplicate_cn_2.p12 \
131 cp out/A1.pem ../certificates/duplicate_cn_1.pem
132 cp out/A2.pem ../certificates/duplicate_cn_2.pem
Dgenerate-test-certs.sh76 > ../certificates/ok_cert.pem
78 > ../certificates/expired_cert.pem
80 > ../certificates/root_ca_cert.pem
/external/chromium_org/chrome/
Dinteractive_ui_tests.isolate25 '../net/data/ssl/certificates/ok_cert.pem',
26 '../net/data/ssl/certificates/root_ca_cert.pem',
77 '../net/data/ssl/certificates/foaf.me.chromium-test-cert.der',
78 '../net/data/ssl/certificates/mit.davidben.der',
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DIdentityTest.java122 assertSame(c1, i.certificates()[0]); in testAddCertificate1()
139 assertSame(c1, i.certificates()[0]); in testAddCertificate2()
192 Certificate[] s = i.certificates(); in testCertificates()
199 s = i.certificates(); in testCertificates()
298 assertEquals(2, i.certificates().length); in testSetPublicKey4()
304 assertEquals(0, i.certificates().length); in testSetPublicKey4()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactory_ImplTest.java627 List certificates; in testGenerateBase64CertPath() local
632 certificates = factory.generateCertPath(bais).getCertificates(); in testGenerateBase64CertPath()
634 2, certificates.size()); in testGenerateBase64CertPath()
638 for (Iterator it = certificates.iterator(); it.hasNext();) { in testGenerateBase64CertPath()
646 certificates = in testGenerateBase64CertPath()
649 2, certificates.size()); in testGenerateBase64CertPath()
653 for (Iterator it = certificates.iterator(); it.hasNext();) { in testGenerateBase64CertPath()
661 certificates = in testGenerateBase64CertPath()
664 2, certificates.size()); in testGenerateBase64CertPath()
668 for (Iterator it = certificates.iterator(); it.hasNext();) { in testGenerateBase64CertPath()
/external/chromium_org/chromeos/network/onc/
Donc_certificate_importer_impl.cc34 const base::ListValue& certificates, in ImportCertificates() argument
37 VLOG(2) << "ONC file has " << certificates.GetSize() << " certificates"; in ImportCertificates()
42 allow_trust_imports, certificates, onc_trusted_certificates, NULL)) { in ImportCertificates()
52 const base::ListValue& certificates, in ParseAndStoreCertificates() argument
56 for (size_t i = 0; i < certificates.GetSize(); ++i) { in ParseAndStoreCertificates()
58 certificates.GetDictionary(i, &certificate); in ParseAndStoreCertificates()

12345