Home
last modified time | relevance | path

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

123456789

/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/boringssl/src/ssl/test/runner/
Dticket.go25 certificates [][]byte member
43 if len(s.certificates) != len(s1.certificates) {
47 for i := range s.certificates {
48 if !bytes.Equal(s.certificates[i], s1.certificates[i]) {
58 for _, cert := range s.certificates {
81 x[0] = byte(len(s.certificates) >> 8)
82 x[1] = byte(len(s.certificates))
85 for _, cert := range s.certificates {
138 s.certificates = make([][]byte, numCerts)
139 for i := range s.certificates {
[all …]
Dhandshake_server.go467 sessionHasClientCerts := len(hs.sessionState.certificates) != 0
498 if len(hs.sessionState.certificates) > 0 {
499 if _, err := hs.processCertsFromClient(hs.sessionState.certificates); err != nil {
548 certMsg.certificates = hs.cert.Certificate
635 if len(certMsg.certificates) == 0 {
644 pub, err = hs.processCertsFromClient(certMsg.certificates)
869 certificates: hs.certsFromClient,
945 func (hs *serverHandshakeState) processCertsFromClient(certificates [][]byte) (crypto.PublicKey, er…
948 hs.certsFromClient = certificates
949 certs := make([]*x509.Certificate, len(certificates))
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPKIXCertPath.java66 private List certificates; field in PKIXCertPath
161 PKIXCertPath(List certificates) in PKIXCertPath() argument
164 this.certificates = sortCerts(new ArrayList(certificates)); in PKIXCertPath()
189 certificates = new ArrayList(); in PKIXCertPath()
195 certificates.add(0, certFactory.generateCertificate( in PKIXCertPath()
202 certificates = new ArrayList(); in PKIXCertPath()
207 certificates.add(cert); in PKIXCertPath()
224 this.certificates = sortCerts(certificates); in PKIXCertPath()
279 ListIterator iter = certificates.listIterator(certificates.size()); in getEncoded()
292 for (int i = 0; i != certificates.size(); i++) in getEncoded()
[all …]
DCertificateFactory.java358 List certificates) in engineGenerateCertPath() argument
361 Iterator iter = certificates.iterator(); in engineGenerateCertPath()
374 return new PKIXCertPath(certificates); in engineGenerateCertPath()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DSignedData.java69 private ASN1Set certificates; field in SignedData
107 ASN1Set certificates, in SignedData() argument
111 … this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); in SignedData()
114 this.certificates = certificates; in SignedData()
118 this.certsBer = certificates instanceof BERSet; in SignedData()
244 certificates = ASN1Set.getInstance(tagged, false); in SignedData()
278 return certificates; in getCertificates()
302 if (certificates != null) in toASN1Primitive()
306 v.add(new BERTaggedObject(false, 0, certificates)); in toASN1Primitive()
310 v.add(new DERTaggedObject(false, 0, certificates)); in toASN1Primitive()
/external/okhttp/okhttp-tests/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/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.java39 private final Vector certificates; field in MyCertPath
58 certificates = new Vector(); in MyCertPath()
59 certificates.add(new MyCertificate("MyEncoding", encoding)); in MyCertPath()
69 return Collections.unmodifiableList(certificates); in getCertificates()
DMyCertificateFactorySpi.java120 public CertPath engineGenerateCertPath(List certificates) in engineGenerateCertPath() argument
122 if (certificates == null) { in engineGenerateCertPath()
/external/boringssl/src/crypto/x509/
Dpkcs7.c93 CBS signed_data, certificates; in PKCS7_get_certificates() local
103 if (!CBS_get_asn1(&signed_data, &certificates, in PKCS7_get_certificates()
109 while (CBS_len(&certificates) > 0) { in PKCS7_get_certificates()
114 if (!CBS_get_asn1_element(&certificates, &cert, CBS_ASN1_SEQUENCE)) { in PKCS7_get_certificates()
298 CBB certificates; in pkcs7_bundle_certificates_cb() local
301 if (!CBB_add_asn1(out, &certificates, in pkcs7_bundle_certificates_cb()
312 !CBB_add_space(&certificates, &buf, len) || in pkcs7_bundle_certificates_cb()
/external/conscrypt/src/main/java/org/conscrypt/
DSSLParametersImpl.java399 static byte[][] encodeIssuerX509Principals(X509Certificate[] certificates) in encodeIssuerX509Principals() argument
401 byte[][] principalBytes = new byte[certificates.length][]; in encodeIssuerX509Principals()
402 for (int i = 0; i < certificates.length; i++) { in encodeIssuerX509Principals()
403 principalBytes[i] = certificates[i].getIssuerX500Principal().getEncoded(); in encodeIssuerX509Principals()
417 OpenSSLX509Certificate[] certificates = new OpenSSLX509Certificate[certificateRefs.length]; in createCertChain() local
419 certificates[i] = new OpenSSLX509Certificate(certificateRefs[i]); in createCertChain()
421 return certificates; in createCertChain()
479 X509Certificate[] certificates = keyManager.getCertificateChain(alias); in setCertificate() local
480 if (certificates == null) { in setCertificate()
483 PublicKey publicKey = (certificates.length > 0) ? certificates[0].getPublicKey() : null; in setCertificate()
[all …]
DOpenSSLX509CertificateFactory.java327 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) in engineGenerateCertPath() argument
329 final List<X509Certificate> filtered = new ArrayList<X509Certificate>(certificates.size()); in engineGenerateCertPath()
330 for (int i = 0; i < certificates.size(); i++) { in engineGenerateCertPath()
331 final Certificate c = certificates.get(i); in engineGenerateCertPath()
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DIdentityTest.java121 assertSame(c1, i.certificates()[0]); in testAddCertificate1()
139 assertSame(c1, i.certificates()[0]); in testAddCertificate2()
193 Certificate[] s = i.certificates(); in testCertificates()
200 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.java640 List certificates; in testGenerateBase64CertPath() local
645 certificates = factory.generateCertPath(bais).getCertificates(); in testGenerateBase64CertPath()
647 2, certificates.size()); in testGenerateBase64CertPath()
651 for (Iterator it = certificates.iterator(); it.hasNext(); ) { in testGenerateBase64CertPath()
659 certificates = in testGenerateBase64CertPath()
662 2, certificates.size()); in testGenerateBase64CertPath()
666 for (Iterator it = certificates.iterator(); it.hasNext(); ) { in testGenerateBase64CertPath()
674 certificates = in testGenerateBase64CertPath()
677 2, certificates.size()); in testGenerateBase64CertPath()
681 for (Iterator it = certificates.iterator(); it.hasNext(); ) { in testGenerateBase64CertPath()
/external/curl/docs/
DSSLCERTS16 certificates. If you're not sure, then run "curl -V" and read the results. If
25 server certificates you see are valid. They're signed by one of the CAs you
42 certificates that are signed by CAs present in the bundle, you can be sure
115 certificate that isn't signed by one of the certificates in the installed CA
144 use the certificates that are built into the OS. These are the same
145 certificates that appear in the Internet Options control panel (under Windows)
147 certificates will be honored.
149 Schannel will run CRL checks on certificates unless peer verification is
150 disabled. Secure Transport on iOS will run OCSP checks on certificates unless
152 or CRL checks on certificates if those features are enabled, and this behavior
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DCustomTrust.java162 Collection<? extends Certificate> certificates = certificateFactory.generateCertificates(in); in sslContextForTrustedCertificates() local
163 if (certificates.isEmpty()) { in sslContextForTrustedCertificates()
171 for (Certificate certificate : certificates) { in sslContextForTrustedCertificates()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedDataGenerator.java190 ASN1Set certificates = null; in generate() local
194 certificates = CMSUtils.createBerSetFromList(certs); in generate()
209 certificates, in generate()
DCMSSignedData.java552 Store certificates, in replaceCertificatesAndCRLs() argument
568 if (certificates != null || attrCerts != null) in replaceCertificatesAndCRLs()
572 if (certificates != null) in replaceCertificatesAndCRLs()
574 certs.addAll(CMSUtils.getCertificatesFromStore(certificates)); in replaceCertificatesAndCRLs()
/external/bouncycastle/bcprov/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/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java304 List<Certificate> certificates = handshake.localCertificates(); in createJavaCacheResponse()
305 return certificates.size() > 0 ? certificates : null; in createJavaCacheResponse()
312 List<Certificate> certificates = handshake.peerCertificates(); in createJavaCacheResponse()
313 return certificates.size() > 0 ? certificates : null; in createJavaCacheResponse()
/external/tlsdate/init/
Dtlsdated-cros.conf13 GOOGLE_CERTS=/usr/share/chromeos-ca-certificates
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java64 Certificate[] certificates = session.getPeerCertificates(); in verify() local
65 return verify(host, (X509Certificate) certificates[0]); in verify()
/external/libmicrohttpd/doc/chapters/
Dtlsauthentication.inc120 that they should not accept certificates of unknown origin.
123 The introduced method of certificates makes it mandatory to set an expiration date---making it less…
124 hardcode certificates in embedded devices.
135 You can also use MHD to authenticate the client via SSL/TLS certificates
150 With this, you can then obtain client certificates for each session.
345 is only used in X.509 certificates. Contains a list with the CA names that the server considers tru…
487 methods for initializing certificates and keys in the GnuTLS manual
/external/tlsdate/
Dapparmor-profile40 /usr/share/ca-certificates/*/** r,
101 /usr/share/ca-certificates/*/** r,
157 /usr/share/ca-certificates/*/** r,

123456789