Searched refs:certificates (Results 1 - 25 of 51) sorted by relevance

123

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
H A DFakeSSLSession.java27 private final Certificate[] certificates; field in class:FakeSSLSession
29 public FakeSSLSession(Certificate... certificates) throws Exception { argument
30 this.certificates = certificates;
66 if (certificates.length == 0) {
69 return certificates;
H A DCertificateChainCleanerTest.java209 List<Certificate> certificates = new ArrayList<>();
211 certificates.add(heldCertificate.certificate);
216 assertEquals(certificates, council.clean(certificates));
217 assertEquals(certificates, council.clean(certificates.subList(0, 9)));
222 List<Certificate> certificates = new ArrayList<>();
224 certificates.add(heldCertificate.certificate);
230 council.clean(certificates);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
H A DPKIXCertPath.java44 * CertPath implementation for X.509 certificates.
64 private List certificates; field in class:PKIXCertPath
150 // make sure all certificates are accounted for.
159 PKIXCertPath(List certificates) argument
162 this.certificates = sortCerts(new ArrayList(certificates));
187 certificates = new ArrayList();
193 certificates.add(0, certFactory.generateCertificate(
200 certificates = new ArrayList();
205 certificates
[all...]
H A DCertificateFactory.java35 * class for dealing with X509 certificates.
38 * base 64 encoded certs, as well as the BER binaries of certificates and some classes of PKCS#7
269 * Returns a (possibly empty) collection view of the certificates
417 List certificates)
420 Iterator iter = certificates.iterator();
433 return new PKIXCertPath(certificates);
416 engineGenerateCertPath( List certificates) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DSignedData.java25 private ASN1Set certificates; field in class:SignedData
55 certificates = _certificates;
84 certificates = ASN1Set.getInstance(tagged, false);
117 return certificates;
137 * certificates
153 if (certificates != null)
155 v.add(new DERTaggedObject(false, 0, certificates));
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
H A DTestSessionBuilder.java33 private ArrayList<byte[]> certificates = new ArrayList<byte[]>(); field in class:TestSessionBuilder
66 certificates.add(certificate);
68 certificatesLength = certificates.size();
138 for (int i = 0; i < certificates.size(); i++) {
140 buf.put(certificates.get(i));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DSignedData.java27 * certificates [0] IMPLICIT CertificateSet OPTIONAL,
39 * IF ((certificates is present) AND
40 * (any certificates with a type of other are present)) OR
45 * IF (certificates is present) AND
46 * (any version 2 attribute certificates are present)
49 * IF ((certificates is present) AND
50 * (any version 1 attribute certificates are present)) OR
69 private ASN1Set certificates; field in class:SignedData
107 ASN1Set certificates,
111 this.version = calculateVersion(contentInfo.getContentType(), certificates, crl
104 SignedData( ASN1Set digestAlgorithms, ContentInfo contentInfo, ASN1Set certificates, ASN1Set crls, ASN1Set signerInfos) argument
[all...]
/external/curl/docs/cmdline-opts/
H A Dcapath.d8 \&"path1:path2:path3"). The certificates must be in PEM format, and if curl is
12 --cacert if the --cacert file contains many CA certificates.
H A Dcrlfile.d8 specify peer certificates that are to be considered revoked.
H A Dcacert.d7 may contain multiple CA certificates. The certificate(s) must be in PEM
25 certificates in the system and user Keychain to verify the peer, which is the
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
H A DSslContextBuilder.java73 * in this chain is the server's certificate, further certificates are included in the handshake
96 Certificate[] certificates = new Certificate[chain.length];
98 certificates[i] = chain[i].certificate;
100 keyStore.setKeyEntry("private", chain[0].keyPair.getPrivate(), password, certificates);
/external/boringssl/src/crypto/pkcs7/
H A Dpkcs7.c97 CBS signed_data, certificates; local
107 if (!CBS_get_asn1(&signed_data, &certificates,
113 while (CBS_len(&certificates) > 0) {
115 if (!CBS_get_asn1_element(&certificates, &cert, CBS_ASN1_SEQUENCE)) {
H A Dpkcs7_x509.c76 // Even if only CRLs are included, there may be an empty certificates block.
80 !CBS_get_asn1(&signed_data, NULL /* certificates */,
178 CBB certificates; local
181 if (!CBB_add_asn1(out, &certificates,
192 !CBB_add_space(&certificates, &buf, len) ||
/external/tensorflow/tensorflow/tools/ci_build/install/
H A Dinstall_deb_packages.sh79 # Install ca-certificates, and update the certificate store.
80 apt-get install -y ca-certificates-java
81 update-ca-certificates -f
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DSSLUtils.java257 * Gets the supported key types for client certificates based on the
280 static byte[][] encodeIssuerX509Principals(X509Certificate[] certificates) argument
282 byte[][] principalBytes = new byte[certificates.length][];
283 for (int i = 0; i < certificates.length; i++) {
284 principalBytes[i] = certificates[i].getIssuerX500Principal().getEncoded();
290 * Converts the peer certificates into a cert chain.
292 static javax.security.cert.X509Certificate[] toCertificateChain(X509Certificate[] certificates) argument
296 new javax.security.cert.X509Certificate[certificates.length];
298 for (int i = 0; i < certificates.length; i++) {
299 byte[] encoded = certificates[
[all...]
H A DOpenSSLX509CertificateFactory.java174 * It wasn't, so just try to keep grabbing certificates until we
333 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) argument
335 final List<X509Certificate> filtered = new ArrayList<X509Certificate>(certificates.size());
336 for (int i = 0; i < certificates.size(); i++) {
337 final Certificate c = certificates.get(i);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DCMSSignedDataGenerator.java190 ASN1Set certificates = null;
194 certificates = CMSUtils.createBerSetFromList(certs);
209 certificates,
H A DCMSSignedData.java551 * @param certificates the new certificates to be used.
552 * @param attrCerts the new attribute certificates to be used.
559 Store certificates,
575 if (certificates != null || attrCerts != null)
579 if (certificates != null)
581 certs.addAll(CMSUtils.getCertificatesFromStore(certificates));
557 replaceCertificatesAndCRLs( CMSSignedData signedData, Store certificates, Store attrCerts, Store revocations) argument
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DCustomTrust.java67 // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view
141 * Returns a SSL context that trusts {@code certificates} and none other. HTTPS services whose
142 * certificates have not been signed by these certificates will fail with a {@code
145 * <p>This can be used to replace the host platform's built-in trusted certificates with a custom
146 * set. This is useful in development where certificate authority-trusted certificates aren't
149 * <p>See also {@link CertificatePinner}, which can limit trusted certificates while still using
153 * Relying on your own trusted certificates limits your server team's ability to update their TLS
154 * certificates. By installing a specific set of trusted certificates, yo
[all...]
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/
H A Dkeymaster_types.proto49 repeated Certificate certificates = 1;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
H A DOkHostnameVerifier.java63 Certificate[] certificates = session.getPeerCertificates();
64 return verify(host, (X509Certificate) certificates[0]);
183 // yet absolute. This is needed because server certificates do not normally contain absolute
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowPackageParser.java323 Certificate[][] certificates = null;
342 certificates = ReflectionHelpers.getField(tempPkg, "mCertificates");
371 ReflectionHelpers.ClassParameter.from(Certificate[][].class, certificates));
381 ReflectionHelpers.ClassParameter.from(Certificate[][].class, certificates));
392 ReflectionHelpers.ClassParameter.from(Certificate[][].class, certificates));
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
H A DJavaApiConverter.java304 List<Certificate> certificates = handshake.localCertificates();
305 return certificates.size() > 0 ? certificates : null;
312 List<Certificate> certificates = handshake.peerCertificates();
313 return certificates.size() > 0 ? certificates : null;
/external/libchrome/build/
H A Dbuild_config.h101 #error Cannot use both OpenSSL and NSS for certificates
/external/libmojo/build/
H A Dbuild_config.h67 #error Cannot use both OpenSSL and NSS for certificates

Completed in 4386 milliseconds

123