HomeSort by relevance Sort by last modified time
    Searched refs:certRefs (Results 1 - 6 of 6) sorted by null

  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLX509CertPath.java 94 final long[] certRefs = new long[certs.length];
105 certRefs[j] = certs[j].getContext();
110 return NativeCrypto.ASN1_seq_pack_X509(certRefs);
112 return NativeCrypto.i2d_PKCS7(certRefs);
146 final long[] certRefs;
148 certRefs = NativeCrypto.ASN1_seq_unpack_X509_bio(bis.getBioContext());
161 if (certRefs == null) {
166 new ArrayList<OpenSSLX509Certificate>(certRefs.length);
167 for (int i = certRefs.length - 1; i >= 0; i--) {
168 if (certRefs[i] == 0)
    [all...]
OpenSSLX509CRL.java 74 final long[] certRefs;
76 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CRLS);
83 final List<OpenSSLX509CRL> certs = new ArrayList<OpenSSLX509CRL>(certRefs.length);
84 for (int i = 0; i < certRefs.length; i++) {
85 if (certRefs[i] == 0) {
88 certs.add(new OpenSSLX509CRL(certRefs[i]));
113 final long[] certRefs;
115 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(),
123 final List<OpenSSLX509CRL> certs = new ArrayList<OpenSSLX509CRL>(certRefs.length);
124 for (int i = 0; i < certRefs.length; i++)
    [all...]
OpenSSLX509Certificate.java 92 final long[] certRefs;
94 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CERTS);
101 if (certRefs == null) {
106 certRefs.length);
107 for (int i = 0; i < certRefs.length; i++) {
108 if (certRefs[i] == 0) {
111 certs.add(new OpenSSLX509Certificate(certRefs[i]));
139 final long[] certRefs;
141 certRefs = NativeCrypto.PEM_read_bio_PKCS7(bis.getBioContext(),
150 certRefs.length)
    [all...]
OpenSSLEngineImpl.java 645 public void verifyCertificateChain(long sslSessionNativePtr, long[] certRefs,
652 if (certRefs == null || certRefs.length == 0) {
655 OpenSSLX509Certificate[] peerCertChain = new OpenSSLX509Certificate[certRefs.length];
656 for (int i = 0; i < certRefs.length; i++) {
657 peerCertChain[i] = new OpenSSLX509Certificate(certRefs[i]);
OpenSSLSocketImpl.java 529 public void verifyCertificateChain(long sslSessionNativePtr, long[] certRefs, String authMethod)
536 if (certRefs == null || certRefs.length == 0) {
539 OpenSSLX509Certificate[] peerCertChain = new OpenSSLX509Certificate[certRefs.length];
540 for (int i = 0; i < certRefs.length; i++) {
541 peerCertChain[i] = new OpenSSLX509Certificate(certRefs[i]);
    [all...]
  /external/conscrypt/src/test/java/org/conscrypt/
NativeCryptoTest.java 149 final long[] certRefs = new long[certs.length];
151 certRefs[i] = certs[i].getContext();
153 return certRefs;
    [all...]

Completed in 293 milliseconds