Home
last modified time | relevance | path

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

12345678910

/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/openssh/
DPROTOCOL.krl42 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:
DPROTOCOL.certkeys9 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.
133 provide an abbreviated way to refer to certificates from that CA.
134 If a CA does not wish to number its certificates it must set this
146 certificate is valid; hostnames for SSH_CERT_TYPE_HOST certificates and
147 usernames for SSH_CERT_TYPE_USER certificates. As a special case, a
167 This ensures that certificates containing unknown restrictions do not
169 enabled via extensions without breaking certificates' backwards
178 certificates, where the signature key type is a certificate type itself
[all …]
Dssh-keygen.0193 Keys/certificates to be revoked may be specified by public key
228 for details. The options that are valid for user certificates
314 file used to revoke certificates directly by key ID or serial
403 ssh-keygen supports signing of keys to produce certificates that may be
409 Note that OpenSSH certificates are a different, and much simpler, format
410 to the X.509 certificates used in ssl(8).
412 ssh-keygen supports two types of certificates: user and host. User
413 certificates authenticate users to servers, whereas host certificates
435 (user/host) names. By default, generated certificates are valid for all
442 Additional limitations on the validity and use of user certificates may
[all …]
/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/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 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/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/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

12345678910