Searched refs:certs (Results 1 – 2 of 2) sorted by relevance
103 ArrayList<byte[]> certs = new ArrayList<byte[]>(mCaCerts.size() + 1); in onSaveStates() local105 certs.add(mUserCert.getEncoded()); in onSaveStates()108 certs.add(cert.getEncoded()); in onSaveStates()110 outStates.putByteArray(CERTS_KEY, Util.toBytes(certs)); in onSaveStates()124 ArrayList<byte[]> certs = Util.fromBytes(savedStates.getByteArray(CERTS_KEY)); in onRestoreStates() local125 for (byte[] cert : certs) { in onRestoreStates()342 Certificate[] certs = entry.getCertificateChain(); in installFrom() local343 Log.d(TAG, "# certs extracted = " + certs.length); in installFrom()344 mCaCerts = new ArrayList<X509Certificate>(certs.length); in installFrom()345 for (Certificate c : certs) { in installFrom()
680 String[] certs = KeyStore.getInstance().saw(prefix); in loadCertificates() local681 if (certs == null || certs.length == 0) { in loadCertificates()682 certs = new String[] {unspecified}; in loadCertificates()684 final String[] array = new String[certs.length + 1]; in loadCertificates()686 System.arraycopy(certs, 0, array, 1, certs.length); in loadCertificates()687 certs = array; in loadCertificates()691 context, android.R.layout.simple_spinner_item, certs); in loadCertificates()