Searched refs:certRefs (Results 1 – 6 of 6) sorted by relevance
99 final long[] certRefs = new long[certs.length]; in getEncoded() local110 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() local153 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 …]
76 final long[] certRefs; in fromPkcs7DerInputStream() local78 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() local117 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 …]
102 final long[] certRefs; in fromPkcs7DerInputStream() local104 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() local151 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(), in fromPkcs7PemInputStream()160 certRefs.length); in fromPkcs7PemInputStream()[all …]
382 public void verifyCertificateChain(long[] certRefs, String authMethod) in verifyCertificateChain() argument389 if (certRefs == null || certRefs.length == 0) { in verifyCertificateChain()393 OpenSSLX509Certificate.createCertChain(certRefs); in verifyCertificateChain()
1561 public void verifyCertificateChain(long[] certRefs, String authMethod) in verifyCertificateChain() argument1568 if (certRefs == null || certRefs.length == 0) { in verifyCertificateChain()1572 OpenSSLX509Certificate.createCertChain(certRefs); in verifyCertificateChain()
174 final long[] certRefs = new long[certs.length]; in getCertificateReferences() local176 certRefs[i] = certs[i].getContext(); in getCertificateReferences()178 return certRefs; in getCertificateReferences()