/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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | PKIXCertPath.java | 65 private List certificates; field in PKIXCertPath 160 PKIXCertPath(List certificates) in PKIXCertPath() argument 163 this.certificates = sortCerts(new ArrayList(certificates)); in PKIXCertPath() 188 certificates = new ArrayList(); in PKIXCertPath() 194 certificates.add(0, certFactory.generateCertificate( in PKIXCertPath() 201 certificates = new ArrayList(); in PKIXCertPath() 206 certificates.add(cert); in PKIXCertPath() 223 this.certificates = sortCerts(certificates); in PKIXCertPath() 278 ListIterator iter = certificates.listIterator(certificates.size()); in getEncoded() 291 for (int i = 0; i != certificates.size(); i++) in getEncoded() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | SignedData.java | 69 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/ |
D | SignedData.java | 71 private ASN1Set certificates; field in SignedData 109 ASN1Set certificates, in SignedData() argument 113 … this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); in SignedData() 116 this.certificates = certificates; in SignedData() 120 this.certsBer = certificates instanceof BERSet; in SignedData() 246 certificates = ASN1Set.getInstance(tagged, false); in SignedData() 280 return certificates; in getCertificates() 304 if (certificates != null) in toASN1Primitive() 308 v.add(new BERTaggedObject(false, 0, certificates)); in toASN1Primitive() 312 v.add(new DERTaggedObject(false, 0, certificates)); in toASN1Primitive()
|
/external/okhttp/okhttp-tests/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()
|
D | CertificateChainCleanerTest.java | 209 List<Certificate> certificates = new ArrayList<>(); in chainMaxLength() local 211 certificates.add(heldCertificate.certificate); in chainMaxLength() 216 assertEquals(certificates, council.clean(certificates)); in chainMaxLength() 217 assertEquals(certificates, council.clean(certificates.subList(0, 9))); in chainMaxLength() 222 List<Certificate> certificates = new ArrayList<>(); in chainTooLong() local 224 certificates.add(heldCertificate.certificate); in chainTooLong() 230 council.clean(certificates); in chainTooLong()
|
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/ |
D | SignedData.java | 27 private ASN1Set certificates; field in SignedData 57 certificates = _certificates; in SignedData() 86 certificates = ASN1Set.getInstance(tagged, false); in SignedData() 119 return certificates; in getCertificates() 155 if (certificates != null) in toASN1Primitive() 157 v.add(new DERTaggedObject(false, 0, certificates)); in toASN1Primitive()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/jar/ |
D | JarArchiveEntry.java | 37 private final Certificate[] certificates = null; field in JarArchiveEntry 77 if (certificates != null) { // never true currently // NOSONAR in getCertificates() 78 final Certificate[] certs = new Certificate[certificates.length]; in getCertificates() 79 System.arraycopy(certificates, 0, certs, 0, certs.length); in getCertificates()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 88 CBS signed_data, certificates; in PKCS7_get_raw_certificates() local 96 &signed_data, &certificates, &has_certificates, in PKCS7_get_raw_certificates() 102 CBS_init(&certificates, NULL, 0); in PKCS7_get_raw_certificates() 105 while (CBS_len(&certificates) > 0) { in PKCS7_get_raw_certificates() 107 if (!CBS_get_asn1_element(&certificates, &cert, CBS_ASN1_SEQUENCE)) { in PKCS7_get_raw_certificates()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | TestSessionBuilder.java | 37 private ArrayList<byte[]> certificates = new ArrayList<byte[]>(); field in TestSessionBuilder 70 certificates.add(certificate); in addCertificate() 72 certificatesLength = certificates.size(); in addCertificate() 142 for (int i = 0; i < certificates.size(); i++) { in build() 144 buf.put(certificates.get(i)); in build()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | TestSessionBuilder.java | 33 private ArrayList<byte[]> certificates = new ArrayList<byte[]>(); field in TestSessionBuilder 66 certificates.add(certificate); in addCertificate() 68 certificatesLength = certificates.size(); in addCertificate() 138 for (int i = 0; i < certificates.size(); i++) { in build() 140 buf.put(certificates.get(i)); in build()
|
/external/boringssl/src/ssl/test/runner/ |
D | ticket.go | 26 certificates [][]byte member 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/conscrypt/common/src/main/java/org/conscrypt/ |
D | SSLUtils.java | 310 static byte[][] encodeSubjectX509Principals(X509Certificate[] certificates) in encodeSubjectX509Principals() argument 312 byte[][] principalBytes = new byte[certificates.length][]; in encodeSubjectX509Principals() 313 for (int i = 0; i < certificates.length; i++) { in encodeSubjectX509Principals() 314 principalBytes[i] = certificates[i].getSubjectX500Principal().getEncoded(); in encodeSubjectX509Principals() 322 static javax.security.cert.X509Certificate[] toCertificateChain(X509Certificate[] certificates) in toCertificateChain() argument 326 new javax.security.cert.X509Certificate[certificates.length]; in toCertificateChain() 328 for (int i = 0; i < certificates.length; i++) { in toCertificateChain() 329 byte[] encoded = certificates[i].getEncoded(); in toCertificateChain()
|
D | OpenSSLX509CertificateFactory.java | 333 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) in engineGenerateCertPath() argument 335 final List<X509Certificate> filtered = new ArrayList<X509Certificate>(certificates.size()); in engineGenerateCertPath() 336 for (int i = 0; i < certificates.size(); i++) { in engineGenerateCertPath() 337 final Certificate c = certificates.get(i); in engineGenerateCertPath()
|
/external/openssh/ |
D | PROTOCOL.certkeys | 9 of X.509 certificates and uses raw keys. This approach has some benefits 16 certificates used are not traditional X.509 certificates, with numerous 58 encoding of these certificates is also used for storing them on disk. 153 provide an abbreviated way to refer to certificates from that CA. 154 If a CA does not wish to number its certificates it must set this 166 certificate is valid; hostnames for SSH_CERT_TYPE_HOST certificates and 167 usernames for SSH_CERT_TYPE_USER certificates. As a special case, a 187 This ensures that certificates containing unknown restrictions do not 189 enabled via extensions without breaking certificates' backwards 198 certificates, where the signature key type is a certificate type itself [all …]
|
D | PROTOCOL.krl | 42 These sections use type KRL_SECTION_CERTIFICATES to revoke certificates by 44 certificates to be revoked and a reserved field whose contents is currently 70 certificates by listing their serial numbers. The cert_section_data in this 81 a range of serial numbers of certificates: 86 All certificates in the range serial_min <= serial <= serial_max are 107 ID" strings. This may be useful in revoking all certificates 119 (not certificates). They are less space efficient than serial numbers, 133 plain keys (i.e. not certificates) by listing their SHA1 hashes:
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | SSLUtils.java | 311 static byte[][] encodeSubjectX509Principals(X509Certificate[] certificates) in encodeSubjectX509Principals() argument 313 byte[][] principalBytes = new byte[certificates.length][]; in encodeSubjectX509Principals() 314 for (int i = 0; i < certificates.length; i++) { in encodeSubjectX509Principals() 315 principalBytes[i] = certificates[i].getSubjectX500Principal().getEncoded(); in encodeSubjectX509Principals() 323 static javax.security.cert.X509Certificate[] toCertificateChain(X509Certificate[] certificates) in toCertificateChain() argument 327 new javax.security.cert.X509Certificate[certificates.length]; in toCertificateChain() 329 for (int i = 0; i < certificates.length; i++) { in toCertificateChain() 330 byte[] encoded = certificates[i].getEncoded(); in toCertificateChain()
|
D | OpenSSLX509CertificateFactory.java | 337 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) in engineGenerateCertPath() argument 339 final List<X509Certificate> filtered = new ArrayList<X509Certificate>(certificates.size()); in engineGenerateCertPath() 340 for (int i = 0; i < certificates.size(); i++) { in engineGenerateCertPath() 341 final Certificate c = certificates.get(i); in engineGenerateCertPath()
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 44 general information about TLS, SSL, and certificates, the reader is referred to 55 helps manage settings and certificates, which can then be inherited 161 connection. See the discussion of :ref:`ssl-certificates` for more 170 (certificates ignored), :const:`CERT_OPTIONAL` (not required, but validated 173 parameter must point to a file of CA certificates. 176 authority" certificates, which are used to validate certificates passed from 178 :ref:`ssl-certificates` for more information about how to arrange the 179 certificates in this file. 250 *cafile*, *capath*, *cadata* represent optional CA certificates to 254 CA certificates instead. [all …]
|
/external/curl/docs/ |
D | SSLCERTS.md | 16 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 store, you can be sure 67 certificates need to be concatenated in PEM format into this file. 70 certificates need to be stored as individual PEM files in this directory. 125 certificate that isn't signed by one of the certificates in the installed CA 154 use the certificates that are built into the OS. These are the same 155 certificates that appear in the Internet Options control panel (under Windows) 157 certificates will be honored. 159 Schannel will run CRL checks on certificates unless peer verification is [all …]
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/ |
D | SslContextBuilder.java | 96 Certificate[] certificates = new Certificate[chain.length]; in build() local 98 certificates[i] = chain[i].certificate; in build() 100 keyStore.setKeyEntry("private", chain[0].keyPair.getPrivate(), password, certificates); in build()
|
/external/curl/docs/cmdline-opts/ |
D | 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/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | CustomTrust.java | 162 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/ |
D | CMSSignedDataGenerator.java | 190 ASN1Set certificates = null; in generate() local 194 certificates = CMSUtils.createBerSetFromList(certs); in generate() 209 certificates, in generate()
|