Home
last modified time | relevance | path

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

123

/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.cc283 OSCertHandles certificates; in CreateCertificateListFromBytes() local
308 certificates.push_back(handle); in CreateCertificateListFromBytes()
316 for (size_t i = 0; certificates.empty() && in CreateCertificateListFromBytes()
319 certificates = CreateOSCertHandlesFromBytes(decoded.c_str(), in CreateCertificateListFromBytes()
335 for (size_t i = 0; certificates.empty() && in CreateCertificateListFromBytes()
338 certificates = CreateOSCertHandlesFromBytes(data, length, in CreateCertificateListFromBytes()
344 if (certificates.empty()) in CreateCertificateListFromBytes()
347 for (OSCertHandles::iterator it = certificates.begin(); in CreateCertificateListFromBytes()
348 it != certificates.end(); ++it) { in CreateCertificateListFromBytes()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DPKIXCertPath.java58 private List certificates; field in PKIXCertPath
153 PKIXCertPath(List certificates) in PKIXCertPath() argument
156 this.certificates = sortCerts(new ArrayList(certificates)); in PKIXCertPath()
181 certificates = new ArrayList(); in PKIXCertPath()
187 certificates.add(0, certFactory.generateCertificate( in PKIXCertPath()
194 certificates = new ArrayList(); in PKIXCertPath()
199 certificates.add(cert); in PKIXCertPath()
216 this.certificates = sortCerts(certificates); in PKIXCertPath()
271 ListIterator iter = certificates.listIterator(certificates.size()); in getEncoded()
284 for (int i = 0; i != certificates.size(); i++) in getEncoded()
[all …]
DJDKX509CertificateFactory.java359 List certificates) in engineGenerateCertPath() argument
362 Iterator iter = certificates.iterator(); in engineGenerateCertPath()
375 return new PKIXCertPath(certificates); in engineGenerateCertPath()
/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())
Dssl_client_certificate_selector.mm83 // The corresponding list of certificates.
154 // Create an array of CFIdentityRefs for the certificates:
/external/webkit/Source/WebCore/platform/network/
DCredential.cpp60 , m_certificates(original.certificates()) in Credential()
97 Credential::Credential(SecIdentityRef identity, CFArrayRef certificates, CredentialPersistence pers… in Credential() argument
102 , m_certificates(certificates) in Credential()
112 CFArrayRef Credential::certificates() const in certificates() function in WebCore::Credential
142 if (a.certificates() != b.certificates()) in operator ==()
DCredential.h59 Credential(SecIdentityRef identity, CFArrayRef certificates, CredentialPersistence);
71 CFArrayRef certificates() const;
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/
DSignedData.java24 private ASN1Set certificates; field in SignedData
54 certificates = _certificates; in SignedData()
83 certificates = ASN1Set.getInstance(tagged, false); in SignedData()
116 return certificates; in getCertificates()
152 if (certificates != null) in toASN1Object()
154 v.add(new DERTaggedObject(false, 0, certificates)); in toASN1Object()
/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()
DMyCertificateFactorySpi.java121 public CertPath engineGenerateCertPath(List certificates) in engineGenerateCertPath() argument
123 if (certificates == null) { in engineGenerateCertPath()
/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/net/data/ssl/certificates/
DREADME1 This directory contains various certificates for use with SSL-related
28 certificates.
/external/bouncycastle/src/main/java/org/bouncycastle/x509/
DCertPathReviewerMessages.properties94 CertPathReviewer.totalPathLength.text = The total path length without self-signed certificates is {…
95 CertPathReviewer.totalPathLength.summary = The total path length without self-signed certificates i…
96 CertPathReviewer.totalPathLength.details = The total path length without self-signed certificates, …
155 # {1} number of trusted root certificates (trustanchors) provided
238 CertPathReviewer.noCertSign.title = Key not usable for signing certificates
239 …= The key usage constraint does not allow the use of this certificate key for signing certificates.
240 CertPathReviewer.noCertSign.summary = The certificate key can not be used for signing certificates.
241 …= The key usage constraint does not allow the use of this certificate key for signing certificates.
255 CertPathReviewer.trustKeyUsage.text = The trust anchor is not alloed to sign certificates.
256 CertPathReviewer.trustKeyUsage.summary = The trust anchor is not alloed to sign certificates.
[all …]
/external/openssl/crypto/store/
DREADME49 Key ID, Issuer/Serial Hash or Subject to look up issuer certificates.
51 and signer certificates.
94 removal of expired certificates. lock_store and unlock_store
/external/openssl/apps/
Dopenssl.cnf193 # PKIX recommendations harmless if included in all certificates.
200 # An alternative to produce certificates that aren't
214 # This is required for TSA certificates.
298 # PKIX recommendations harmless if included in all certificates.
305 # An alternative to produce certificates that aren't
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DIdentity2Test.java223 java.security.Certificate[] certs = sub.certificates(); in test_certificates()
255 java.security.Certificate[] certs = sub.certificates(); in test_removeCertificateLjava_security_Certificate()
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample-plainrsa21 # This is the trick - use PlainRSA certificates.
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Dwpa_supplicant.conf.sgml203 certificates. EAP-TLS uses both server side and client
204 certificates whereas EAP-PEAP and EAP-TTLS only require the server
210 <para>wpa_supplicant supports X.509 certificates in PEM and DER
/external/webkit/Source/WebCore/platform/network/mac/
DAuthenticationMac.mm263 certificates:(NSArray *)coreCredential.certificates()
356 return Credential(identity, (CFArrayRef)[macCredential certificates], persistence);
/external/ipsec-tools/src/racoon/doc/
DREADME.privsep54 certs directory containing certificates, a scripts directory, and other
72 Now root/certs contains certificates and certs contains the keys. The idea is
73 that the public certificates are in the chroot'd area
/external/bouncycastle/patches/
DREADME35 - Blacklist fraudulent Comodo certificates in PKIXCertPathValidatorSpi

123