Home
last modified time | relevance | path

Searched refs:CA_CERTIFICATE (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java132 final byte[] caBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, in engineGetCertificateChain()
165 encodedCert = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid); in engineGetCertificate()
283 return getModificationDate(Credentials.CA_CERTIFICATE + alias); in engineGetCreationDate()
569 errorCode = mKeyStore.insert(Credentials.CA_CERTIFICATE + alias, chainBytes, in setPrivateKeyEntry()
871 if (!mKeyStore.put(Credentials.CA_CERTIFICATE + alias, encoded, mUid, KeyStore.FLAG_NONE)) { in engineSetCertificateEntry()
917 || mKeyStore.contains(Credentials.CA_CERTIFICATE + alias, mUid); in engineContainsAlias()
941 return mKeyStore.contains(Credentials.CA_CERTIFICATE + alias, mUid); in isCertificateEntry()
996 final String[] caAliases = mKeyStore.list(Credentials.CA_CERTIFICATE, mUid); in engineGetCertificateAlias()
1003 final byte[] certBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid); in engineGetCertificateAlias()
DAndroidKeyStoreKeyPairGeneratorSpi.java575 storeCertificate(Credentials.CA_CERTIFICATE, certificateConcatenationStream.toByteArray(), in storeCertificateChain()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java48 public static final String CA_CERT_PREFIX = KEYSTORE_URI + Credentials.CA_CERTIFICATE;
179 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testSaveMultipleCaCertificates()
180 … WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testSaveMultipleCaCertificates()
189 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testLoadMultipleCaCertificates()
190 … WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testLoadMultipleCaCertificates()
/frameworks/base/keystore/java/android/security/
DCredentials.java52 public static final String CA_CERTIFICATE = "CACERT_"; field in Credentials
224 & keystore.delete(Credentials.CA_CERTIFICATE + alias, uid); in deleteCertificateTypesForAlias()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java134 private static final String CA_CERTIFICATE = "CACERT_"; field in WifiEnterpriseConfig
147 public static final String CA_CERT_PREFIX = KEYSTORE_URI + CA_CERTIFICATE;
722 sb.append(encodeCaCertificateAlias(CA_CERTIFICATE + aliases[i])); in setCaCertificateAliases()
756 if (aliases[i].startsWith(CA_CERTIFICATE)) { in getCaCertificateAliases()
757 aliases[i] = aliases[i].substring(CA_CERTIFICATE.length()); in getCaCertificateAliases()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1945 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert);