Home
last modified time | relevance | path

Searched refs:certs (Results 1 – 2 of 2) sorted by relevance

/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java103 ArrayList<byte[]> certs = new ArrayList<byte[]>(mCaCerts.size() + 1); in onSaveStates() local
105 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() local
125 for (byte[] cert : certs) { in onRestoreStates()
342 Certificate[] certs = entry.getCertificateChain(); in installFrom() local
343 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()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java680 String[] certs = KeyStore.getInstance().saw(prefix); in loadCertificates() local
681 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()