Home
last modified time | relevance | path

Searched refs:certRefs (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509CertPath.java99 final long[] certRefs = new long[certs.length]; in getEncoded() local
110 certRefs[j] = certs[j].getContext(); in getEncoded()
115 return NativeCrypto.ASN1_seq_pack_X509(certRefs); in getEncoded()
117 return NativeCrypto.i2d_PKCS7(certRefs); in getEncoded()
151 final long[] certRefs; in fromPkiPathEncoding() local
153 certRefs = NativeCrypto.ASN1_seq_unpack_X509_bio(bis.getBioContext()); in fromPkiPathEncoding()
166 if (certRefs == null) { in fromPkiPathEncoding()
171 new ArrayList<OpenSSLX509Certificate>(certRefs.length); in fromPkiPathEncoding()
172 for (int i = certRefs.length - 1; i >= 0; i--) { in fromPkiPathEncoding()
173 if (certRefs[i] == 0) { in fromPkiPathEncoding()
[all …]
DOpenSSLX509CRL.java76 final long[] certRefs; in fromPkcs7DerInputStream() local
78 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CRLS); in fromPkcs7DerInputStream()
85 final List<OpenSSLX509CRL> certs = new ArrayList<OpenSSLX509CRL>(certRefs.length); in fromPkcs7DerInputStream()
86 for (int i = 0; i < certRefs.length; i++) { in fromPkcs7DerInputStream()
87 if (certRefs[i] == 0) { in fromPkcs7DerInputStream()
90 certs.add(new OpenSSLX509CRL(certRefs[i])); in fromPkcs7DerInputStream()
115 final long[] certRefs; in fromPkcs7PemInputStream() local
117 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(), in fromPkcs7PemInputStream()
125 final List<OpenSSLX509CRL> certs = new ArrayList<OpenSSLX509CRL>(certRefs.length); in fromPkcs7PemInputStream()
126 for (int i = 0; i < certRefs.length; i++) { in fromPkcs7PemInputStream()
[all …]
DOpenSSLX509Certificate.java102 final long[] certRefs; in fromPkcs7DerInputStream() local
104 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CERTS); in fromPkcs7DerInputStream()
111 if (certRefs == null) { in fromPkcs7DerInputStream()
116 certRefs.length); in fromPkcs7DerInputStream()
117 for (int i = 0; i < certRefs.length; i++) { in fromPkcs7DerInputStream()
118 if (certRefs[i] == 0) { in fromPkcs7DerInputStream()
121 certs.add(new OpenSSLX509Certificate(certRefs[i])); in fromPkcs7DerInputStream()
149 final long[] certRefs; in fromPkcs7PemInputStream() local
151 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(), in fromPkcs7PemInputStream()
160 certRefs.length); in fromPkcs7PemInputStream()
[all …]
DConscryptFileDescriptorSocket.java382 public void verifyCertificateChain(long[] certRefs, String authMethod) in verifyCertificateChain() argument
389 if (certRefs == null || certRefs.length == 0) { in verifyCertificateChain()
393 OpenSSLX509Certificate.createCertChain(certRefs); in verifyCertificateChain()
DConscryptEngine.java1561 public void verifyCertificateChain(long[] certRefs, String authMethod) in verifyCertificateChain() argument
1568 if (certRefs == null || certRefs.length == 0) { in verifyCertificateChain()
1572 OpenSSLX509Certificate.createCertChain(certRefs); in verifyCertificateChain()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java174 final long[] certRefs = new long[certs.length]; in getCertificateReferences() local
176 certRefs[i] = certs[i].getContext(); in getCertificateReferences()
178 return certRefs; in getCertificateReferences()