/external/chromium_org/chrome/app/test_data/ |
D | cert_maker.bat | 5 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/ |
D | CollectionCertStoreParametersTest.java | 87 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/ |
D | cert_database_nss.cc | 177 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 …]
|
D | cert_database.h | 131 X509Certificate* FindRootInList(const CertificateList& certificates) const; 140 bool ImportCACerts(const CertificateList& certificates, 152 bool ImportServerCert(const CertificateList& certificates,
|
D | x509_certificate.cc | 289 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/ |
D | PKIXCertPath.java | 63 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/ |
D | SignedData.java | 32 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/ |
D | nss_cert_database.cc | 139 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 …]
|
D | nss_cert_database.h | 144 X509Certificate* FindRootInList(const CertificateList& certificates) const; 153 bool ImportCACerts(const CertificateList& certificates, 167 bool ImportServerCert(const CertificateList& certificates,
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | certificate_viewer.mm | 22 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/ |
D | FakeSSLSession.java | 27 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/ |
D | nsNSSCertificateDB.cpp | 63 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/ |
D | SignedData.java | 25 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/ |
D | MyCertPath.java | 40 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/ |
D | certificate_manager_model.cc | 116 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/ |
D | README | 1 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/ |
D | parse_chain.patch | 22 """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/ |
D | peercertchain2.patch | 10 +** 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.
|
D | peercertchain.patch | 53 +** 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/ |
D | generate-duplicate-cn-certs.sh | 116 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
|
D | generate-test-certs.sh | 76 > ../certificates/ok_cert.pem 78 > ../certificates/expired_cert.pem 80 > ../certificates/root_ca_cert.pem
|
/external/chromium_org/chrome/ |
D | interactive_ui_tests.isolate | 25 '../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/ |
D | IdentityTest.java | 122 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/ |
D | CertificateFactory_ImplTest.java | 627 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/ |
D | onc_certificate_importer_impl.cc | 34 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()
|