HomeSort by relevance Sort by last modified time
    Searched refs:certificates (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
FakeSSLSession.java 27 private final Certificate[] certificates; field in class:FakeSSLSession
29 public FakeSSLSession(Certificate... certificates) throws Exception {
30 this.certificates = certificates;
66 if (certificates.length == 0) {
69 return certificates;
CertificateChainCleanerTest.java 209 List<Certificate> certificates = new ArrayList<>(); local
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<>(); local
224 certificates.add(heldCertificate.certificate);
230 council.clean(certificates);
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/jar/
JarArchiveEntry.java 37 private final Certificate[] certificates = null; field in class:JarArchiveEntry
69 * Return a copy of the list of certificates or null if there are none.
77 if (certificates != null) { // never true currently // NOSONAR
78 final Certificate[] certs = new Certificate[certificates.length];
79 System.arraycopy(certificates, 0, certs, 0, certs.length);
85 * also returns null or the list of certificates (but not copied)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
PKIXCertPath.java 44 * CertPath implementation for X.509 certificates.
63 private List certificates; field in class:PKIXCertPath
149 // make sure all certificates are accounted for.
158 PKIXCertPath(List certificates)
161 this.certificates = sortCerts(new ArrayList(certificates));
186 certificates = new ArrayList();
192 certificates.add(0, certFactory.generateCertificate(
199 certificates = new ArrayList();
204 certificates.add(cert)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
SignedData.java 25 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
SignedData.java 27 private ASN1Set certificates; field in class:SignedData
57 certificates = _certificates;
86 certificates = ASN1Set.getInstance(tagged, false);
119 return certificates;
139 * certificates
155 if (certificates != null)
157 v.add(new DERTaggedObject(false, 0, certificates));
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
PKIXCertPath.java 45 * CertPath implementation for X.509 certificates.
65 private List certificates; field in class:PKIXCertPath
151 // make sure all certificates are accounted for.
160 PKIXCertPath(List certificates)
163 this.certificates = sortCerts(new ArrayList(certificates));
188 certificates = new ArrayList();
194 certificates.add(0, certFactory.generateCertificate(
201 certificates = new ArrayList();
206 certificates.add(cert)
    [all...]
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
TestSessionBuilder.java 33 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/
SignedData.java 27 * 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, crls, signerInfos)
    [all...]
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
SignedData.java 28 * certificates [0] IMPLICIT CertificateSet OPTIONAL,
40 * IF ((certificates is present) AND
41 * (any certificates with a type of other are present)) OR
46 * IF (certificates is present) AND
47 * (any version 2 attribute certificates are present)
50 * IF ((certificates is present) AND
51 * (any version 1 attribute certificates are present)) OR
71 private ASN1Set certificates; field in class:SignedData
109 ASN1Set certificates,
113 this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos)
    [all...]
  /external/curl/docs/cmdline-opts/
capath.d 8 \&"path1:path2:path3"). The certificates must be in PEM format, and if curl is
12 --cacert if the --cacert file contains many CA certificates.
crlfile.d 8 specify peer certificates that are to be considered revoked.
cacert.d 7 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
31 root certificates (the default for Schannel).
  /external/boringssl/src/crypto/pkcs7/
pkcs7.c 88 CBS signed_data, certificates; local
96 &signed_data, &certificates, &has_certificates,
102 CBS_init(&certificates, NULL, 0);
105 while (CBS_len(&certificates) > 0) {
107 if (!CBS_get_asn1_element(&certificates, &cert, CBS_ASN1_SEQUENCE)) {
  /external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
TestSessionBuilder.java 37 private ArrayList<byte[]> certificates = new ArrayList<byte[]>(); field in class:TestSessionBuilder
70 certificates.add(certificate);
72 certificatesLength = certificates.size();
142 for (int i = 0; i < certificates.size(); i++) {
144 buf.put(certificates.get(i));
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
SslContextBuilder.java 73 * in this chain is the server's certificate, further certificates are included in the handshake
96 Certificate[] certificates = new Certificate[chain.length]; local
98 certificates[i] = chain[i].certificate;
100 keyStore.setKeyEntry("private", chain[0].keyPair.getPrivate(), password, certificates);
  /cts/tools/utils/
java-cert-list-generator.sh 55 CERT_DIRECTORY=$ANDROID_BUILD_TOP/system/ca-certificates/files/
70 CERT_DIRECTORY=$ANDROID_BUILD_TOP/system/ca-certificates/wfa_certs/files/
  /external/tensorflow/tensorflow/tools/ci_build/install/
install_deb_packages.sh 80 # Install ca-certificates, and update the certificate store.
81 apt-get install -y ca-certificates-java
82 update-ca-certificates -f
  /external/conscrypt/common/src/main/java/org/conscrypt/
SSLUtils.java 260 * Gets the supported key types for client certificates based on the
310 static byte[][] encodeSubjectX509Principals(X509Certificate[] certificates)
312 byte[][] principalBytes = new byte[certificates.length][];
313 for (int i = 0; i < certificates.length; i++) {
314 principalBytes[i] = certificates[i].getSubjectX500Principal().getEncoded();
320 * Converts the peer certificates into a cert chain.
322 static javax.security.cert.X509Certificate[] toCertificateChain(X509Certificate[] certificates)
326 new javax.security.cert.X509Certificate[certificates.length];
328 for (int i = 0; i < certificates.length; i++) {
329 byte[] encoded = certificates[i].getEncoded()
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
CertificateTest.java 42 // The directory for CA root certificates trusted by WFA (WiFi Alliance)
50 assertEquals("Missing CA certificates", Collections.EMPTY_SET, expectedCertificates);
76 assertEquals("Unknown CA certificates", Collections.EMPTY_SET, deviceCertificates);
85 assertEquals("Blocked CA certificates", Collections.EMPTY_SET, deviceCertificates);
89 * This test exists because adding new ca certificate or removing the ca certificates trusted by
102 assertEquals("Missing WFA CA certificates", Collections.EMPTY_SET, expectedCertificates);
113 assertEquals("Unknown WFA CA certificates", Collections.EMPTY_SET, deviceWfaCertificates);
158 Set<String> certificates = new HashSet<>(); local
166 certificates.add(fingerprint);
168 return certificates;
179 Set<String> certificates = new HashSet<String>(); local
    [all...]
  /external/grpc-grpc/src/csharp/Grpc.Core/
ServerCredentials.cs 72 /// <param name="keyCertificatePairs">Key-certificates to use.</param>
73 /// <param name="rootCertificates">PEM encoded client root certificates used to authenticate client.</param>
92 /// using client root certificates.
94 /// <param name="keyCertificatePairs">Key-certificates to use.</param>
111 /// PEM encoded client root certificates.
  /external/boringssl/src/ssl/test/runner/
ticket.go 26 certificates [][]byte
43 msg.addU16(uint16(len(s.certificates)))
44 for _, cert := range s.certificates {
104 s.certificates = make([][]byte, numCerts)
105 for i := range s.certificates {
117 s.certificates[i] = data[:certLen]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSSignedDataGenerator.java 190 ASN1Set certificates = null; local
194 certificates = CMSUtils.createBerSetFromList(certs);
209 certificates,
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
CustomTrust.java 67 // 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
152 * <h3>Warning: Customizing Trusted Certificates is Dangerous!</h3>
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, you take on additiona
162 Collection<? extends Certificate> certificates = certificateFactory.generateCertificates(in); local
    [all...]
  /external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
SSLUtils.java 261 * Gets the supported key types for client certificates based on the
311 static byte[][] encodeSubjectX509Principals(X509Certificate[] certificates)
313 byte[][] principalBytes = new byte[certificates.length][];
314 for (int i = 0; i < certificates.length; i++) {
315 principalBytes[i] = certificates[i].getSubjectX500Principal().getEncoded();
321 * Converts the peer certificates into a cert chain.
323 static javax.security.cert.X509Certificate[] toCertificateChain(X509Certificate[] certificates)
327 new javax.security.cert.X509Certificate[certificates.length];
329 for (int i = 0; i < certificates.length; i++) {
330 byte[] encoded = certificates[i].getEncoded()
    [all...]

Completed in 623 milliseconds

1 2 3 4