Searched refs:certs (Results 1 – 14 of 14) sorted by relevance
134 ArrayList<byte[]> certs = new ArrayList<byte[]>(mCaCerts.size() + 1); in onSaveStates() local136 certs.add(mUserCert.getEncoded()); in onSaveStates()139 certs.add(cert.getEncoded()); in onSaveStates()141 outStates.putByteArray(CERTS_KEY, Util.toBytes(certs)); in onSaveStates()158 ArrayList<byte[]> certs = Util.fromBytes(savedStates.getByteArray(CERTS_KEY)); in onRestoreStates() local159 for (byte[] cert : certs) { in onRestoreStates()437 Certificate[] certs = entry.getCertificateChain(); in installFrom() local438 Log.d(TAG, "# certs extracted = " + certs.length); in installFrom()439 mCaCerts = new ArrayList<X509Certificate>(certs.length); in installFrom()440 for (Certificate c : certs) { in installFrom()
204 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(MY_USER_ID)); in getNumberOfOwnerInstalledCaCertsForCurrentUser() local205 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForCurrentUser()208 return certs.size(); in getNumberOfOwnerInstalledCaCertsForCurrentUser()217 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(userId)); in getNumberOfOwnerInstalledCaCertsForManagedProfile() local218 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForManagedProfile()221 return certs.size(); in getNumberOfOwnerInstalledCaCertsForManagedProfile()
39 final int certs = getNumberOfCaCerts(); in updateState() local41 R.plurals.enterprise_privacy_number_ca_certs, certs, certs)); in updateState()
193 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(MY_USER_ID)); in getNumberOfOwnerInstalledCaCertsForCurrentUser() local194 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForCurrentUser()197 return certs.size(); in getNumberOfOwnerInstalledCaCertsForCurrentUser()206 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(userId)); in getNumberOfOwnerInstalledCaCertsForManagedProfile() local207 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForManagedProfile()210 return certs.size(); in getNumberOfOwnerInstalledCaCertsForManagedProfile()
41 static bssl::UniquePtr<X509> stringToX509Certs(const char* certs) { in stringToX509Certs() argument42 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(certs, strlen(certs))); in stringToX509Certs()
1404 ArrayList<String> certs = new ArrayList<String>(); in loadCertificates() local1405 certs.add(mUnspecifiedCertString); in loadCertificates()1407 certs.add(mMultipleCertSetString); in loadCertificates()1410 certs.add(mUseSystemCertsString); in loadCertificates()1420 certs.addAll(Arrays.stream(certificateNames) in loadCertificates()1432 certs.add(noCertificateString); in loadCertificates()1436 if (certs.size() == 2) { in loadCertificates()1437 certs.remove(mUnspecifiedCertString); in loadCertificates()1445 certs.toArray(new String[certs.size()])); in loadCertificates()
1346 ArrayList<String> certs = new ArrayList<String>(); in loadCertificates() local1347 certs.add(mUnspecifiedCertString); in loadCertificates()1349 certs.add(mMultipleCertSetString); in loadCertificates()1352 certs.add(mUseSystemCertsString); in loadCertificates()1355 certs.addAll( in loadCertificates()1360 certs.add(noCertificateString); in loadCertificates()1364 certs.toArray(new String[certs.size()])); in loadCertificates()
817 final List<CertHolder> certs = mCertHoldersByUserId.get(certHolder.mProfileId); in remove() local818 if (certs != null) { in remove()819 certs.remove(certHolder); in remove()
1172 static int ipp_server_cert_cb(http_t *http, void *tls, cups_array_t *certs, void *user_data) { in ipp_server_cert_cb() argument1176 http_credential_t *credential = cupsArrayFirst(certs); in ipp_server_cert_cb()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...