Home
last modified time | relevance | path

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

12345678910>>...19

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPKIXCertPath.java63 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/tpm2-tss/src/tss2-fapi/api/
DFapi_GetPlatformCertificates.c61 uint8_t **certificates, in Fapi_GetPlatformCertificates() argument
70 check_not_null(certificates); in Fapi_GetPlatformCertificates()
97 r = Fapi_GetPlatformCertificates_Finish(context, certificates, in Fapi_GetPlatformCertificates()
188 uint8_t **certificates, in Fapi_GetPlatformCertificates_Finish() argument
198 check_not_null(certificates); in Fapi_GetPlatformCertificates_Finish()
199 *certificates = NULL; in Fapi_GetPlatformCertificates_Finish()
221 *certificates = malloc(size); in Fapi_GetPlatformCertificates_Finish()
222 goto_if_null2(*certificates, "Out of memory.", in Fapi_GetPlatformCertificates_Finish()
254 SAFE_FREE(*certificates); in Fapi_GetPlatformCertificates_Finish()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPKIXCertPath.java65 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/
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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPKIXCertPath.java65 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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DSignedData.java71 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/
DSignedData.java71 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/
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()
DCertificateChainCleanerTest.java209 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/
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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/
DSignedData.java27 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DSignedData.java27 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/
DJarArchiveEntry.java37 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/python/cryptography/docs/x509/
Dcertificate-transparency.rst7 which allow X.509 certificates to be sent to append-only logs and have small
9 for external auditing of the certificates that a certificate authority has
49 can either be certificates themselves or "pre-certificates" which
72 For SCTs corresponding to X.509 certificates.
76 For SCTs corresponding to pre-certificates.
/external/arm-trusted-firmware/docs/design/
Dtrusted-board-boot.rst29 The remaining components in the CoT are either certificates or boot loader
30 images. The certificates follow the `X.509 v3`_ standard. This standard
31 enables adding custom extensions to the certificates, which are used to store
34 In the TBB CoT all certificates are self-signed. There is no need for a
37 extensions. To sign the certificates, different signature schemes are available,
40 The certificates are categorised as "Key" and "Content" certificates. Key
41 certificates are used to verify public keys which have been used to sign content
42 certificates. Content certificates are used to store the hash of a boot loader
47 extension fields in the `X.509 v3`_ certificates.
58 The private part is used to sign the key certificates corresponding to the
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DTestSessionBuilder.java33 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/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DTestSessionBuilder.java37 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/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7.c88 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/boringssl/src/crypto/pkcs7/
Dpkcs7.c88 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/boringssl/src/ssl/test/runner/
Dticket.go25 certificates [][]byte member
45 msg.addU16(uint16(len(s.certificates)))
46 for _, cert := range s.certificates {
105 s.certificates = make([][]byte, int(numCerts))
106 for i := range s.certificates {
107 if !reader.readU32LengthPrefixedBytes(&s.certificates[i]) {
/external/conscrypt/common/src/main/java/org/conscrypt/
DSSLUtils.java310 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()
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()
/external/openssh/
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
41 Two additional types exist for RSA certificates to force use of
71 encoding of these certificates is also used for storing them on disk.
166 provide an abbreviated way to refer to certificates from that CA.
167 If a CA does not wish to number its certificates it must set this
179 certificate is valid; hostnames for SSH_CERT_TYPE_HOST certificates and
180 usernames for SSH_CERT_TYPE_USER certificates. As a special case, a
200 This ensures that certificates containing unknown restrictions do not
202 enabled via extensions without breaking certificates' backwards
[all …]
DPROTOCOL.krl43 These sections use type KRL_SECTION_CERTIFICATES to revoke certificates by
45 certificates to be revoked and a reserved field whose contents is currently
71 certificates by listing their serial numbers. The cert_section_data in this
82 a range of serial numbers of certificates:
87 All certificates in the range serial_min <= serial <= serial_max are
108 ID" strings. This may be useful in revoking all certificates
120 (not certificates). They are less space efficient than serial numbers,
135 certificates) by listing their hashes:
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DSSLUtils.java311 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()
324 static javax.security.cert.X509Certificate[] toCertificateChain(X509Certificate[] certificates) in toCertificateChain() argument
328 new javax.security.cert.X509Certificate[certificates.length]; in toCertificateChain()
330 for (int i = 0; i < certificates.length; i++) { in toCertificateChain()
331 byte[] encoded = certificates[i].getEncoded(); in toCertificateChain()
/external/arm-trusted-firmware/docs/components/
Dcot-binding.rst44 In other words, certificates which are validated
59 This property is required for all non-root certificates.
61 This property is not required for root-certificates
62 as root-certificates are validated using root of trust
72 non-root certificates which are authenticated using public-key
75 This property is not required for root-certificates
76 as root-certificates are validated using root of trust
84 This property is used by all certificates which are
330 which are currently specific to X.509 certificates for e.g. Object IDs.

12345678910>>...19