Searched refs:certRefs (Results 1 – 6 of 6) sorted by relevance
94 final long[] certRefs = new long[certs.length]; in getEncoded() local105 certRefs[j] = certs[j].getContext(); in getEncoded()110 return NativeCrypto.ASN1_seq_pack_X509(certRefs); in getEncoded()112 return NativeCrypto.i2d_PKCS7(certRefs); in getEncoded()146 final long[] certRefs; in fromPkiPathEncoding() local148 certRefs = NativeCrypto.ASN1_seq_unpack_X509_bio(bis.getBioContext()); in fromPkiPathEncoding()161 if (certRefs == null) { in fromPkiPathEncoding()166 new ArrayList<OpenSSLX509Certificate>(certRefs.length); in fromPkiPathEncoding()167 for (int i = certRefs.length - 1; i >= 0; i--) { in fromPkiPathEncoding()168 if (certRefs[i] == 0) { in fromPkiPathEncoding()[all …]
74 final long[] certRefs; in fromPkcs7DerInputStream() local76 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CRLS); in fromPkcs7DerInputStream()83 final List<OpenSSLX509CRL> certs = new ArrayList<OpenSSLX509CRL>(certRefs.length); in fromPkcs7DerInputStream()84 for (int i = 0; i < certRefs.length; i++) { in fromPkcs7DerInputStream()85 if (certRefs[i] == 0) { in fromPkcs7DerInputStream()88 certs.add(new OpenSSLX509CRL(certRefs[i])); in fromPkcs7DerInputStream()113 final long[] certRefs; in fromPkcs7PemInputStream() local115 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(), in fromPkcs7PemInputStream()123 final List<OpenSSLX509CRL> certs = new ArrayList<OpenSSLX509CRL>(certRefs.length); in fromPkcs7PemInputStream()124 for (int i = 0; i < certRefs.length; i++) { in fromPkcs7PemInputStream()[all …]
92 final long[] certRefs; in fromPkcs7DerInputStream() local94 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CERTS); in fromPkcs7DerInputStream()101 if (certRefs == null) { in fromPkcs7DerInputStream()106 certRefs.length); in fromPkcs7DerInputStream()107 for (int i = 0; i < certRefs.length; i++) { in fromPkcs7DerInputStream()108 if (certRefs[i] == 0) { in fromPkcs7DerInputStream()111 certs.add(new OpenSSLX509Certificate(certRefs[i])); in fromPkcs7DerInputStream()139 final long[] certRefs; in fromPkcs7PemInputStream() local141 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(), in fromPkcs7PemInputStream()150 certRefs.length); in fromPkcs7PemInputStream()[all …]
645 public void verifyCertificateChain(long sslSessionNativePtr, long[] certRefs, in verifyCertificateChain() argument652 if (certRefs == null || certRefs.length == 0) { in verifyCertificateChain()655 OpenSSLX509Certificate[] peerCertChain = new OpenSSLX509Certificate[certRefs.length]; in verifyCertificateChain()656 for (int i = 0; i < certRefs.length; i++) { in verifyCertificateChain()657 peerCertChain[i] = new OpenSSLX509Certificate(certRefs[i]); in verifyCertificateChain()
535 public void verifyCertificateChain(long sslSessionNativePtr, long[] certRefs, String authMethod) in verifyCertificateChain() argument542 if (certRefs == null || certRefs.length == 0) { in verifyCertificateChain()545 OpenSSLX509Certificate[] peerCertChain = new OpenSSLX509Certificate[certRefs.length]; in verifyCertificateChain()546 for (int i = 0; i < certRefs.length; i++) { in verifyCertificateChain()547 peerCertChain[i] = new OpenSSLX509Certificate(certRefs[i]); in verifyCertificateChain()
152 final long[] certRefs = new long[certs.length]; in getCertificateReferences() local154 certRefs[i] = certs[i].getContext(); in getCertificateReferences()156 return certRefs; in getCertificateReferences()