Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DTestOnlyInsecureCertificateHelper.java55 getRootCertificate(String rootCertificateAlias) throws RemoteException { in getRootCertificate() argument
56 rootCertificateAlias = getDefaultCertificateAliasIfEmpty(rootCertificateAlias); in getRootCertificate()
57 if (isTestOnlyCertificateAlias(rootCertificateAlias)) { in getRootCertificate()
62 TrustedRootCertificates.getRootCertificate(rootCertificateAlias); in getRootCertificate()
71 @Nullable String rootCertificateAlias) { in getDefaultCertificateAliasIfEmpty()
72 if (rootCertificateAlias == null || rootCertificateAlias.isEmpty()) { in getDefaultCertificateAliasIfEmpty()
75 rootCertificateAlias = TrustedRootCertificates.GOOGLE_CLOUD_KEY_VAULT_SERVICE_V1_ALIAS; in getDefaultCertificateAliasIfEmpty()
77 return rootCertificateAlias; in getDefaultCertificateAliasIfEmpty()
80 public boolean isTestOnlyCertificateAlias(String rootCertificateAlias) { in isTestOnlyCertificateAlias() argument
82 .equals(rootCertificateAlias); in isTestOnlyCertificateAlias()
[all …]
DRecoverableKeyStoreManager.java186 @NonNull String rootCertificateAlias, @NonNull byte[] recoveryServiceCertFile) in initRecoveryService()
192 rootCertificateAlias in initRecoveryService()
193 = mTestCertHelper.getDefaultCertificateAliasIfEmpty(rootCertificateAlias); in initRecoveryService()
194 if (!mTestCertHelper.isValidRootCertificateAlias(rootCertificateAlias)) { in initRecoveryService()
203 + " is assigned for the first time to " + rootCertificateAlias); in initRecoveryService()
204 } else if (!activeRootAlias.equals(rootCertificateAlias)) { in initRecoveryService()
206 + rootCertificateAlias + " from " + activeRootAlias); in initRecoveryService()
208 long updatedRows = mDatabase.setActiveRootOfTrust(userId, uid, rootCertificateAlias); in initRecoveryService()
225 Long oldSerial = mDatabase.getRecoveryServiceCertSerial(userId, uid, rootCertificateAlias); in initRecoveryService()
227 && !mTestCertHelper.isTestOnlyCertificateAlias(rootCertificateAlias)) { in initRecoveryService()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl70 void initRecoveryServiceWithSigFile(in String rootCertificateAlias, in initRecoveryServiceWithSigFile() argument
85 byte[] startRecoverySessionWithCertPath(in String sessionId, in String rootCertificateAlias, in startRecoverySessionWithCertPath() argument
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoverySession.java103 @NonNull String rootCertificateAlias, in start()
116 rootCertificateAlias, in start()
DRecoveryController.java333 @NonNull String rootCertificateAlias, @NonNull byte[] certificateFile, in initRecoveryService()
338 rootCertificateAlias, certificateFile, signatureFile); in initRecoveryService()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2219 public void initRecoveryServiceWithSigFile(@NonNull String rootCertificateAlias, in initRecoveryServiceWithSigFile() argument
2222 mRecoverableKeyStoreManager.initRecoveryServiceWithSigFile(rootCertificateAlias, in initRecoveryServiceWithSigFile()
2266 @NonNull String rootCertificateAlias, @NonNull RecoveryCertPath verifierCertPath, in startRecoverySessionWithCertPath() argument
2271 sessionId, rootCertificateAlias, verifierCertPath, vaultParams, vaultChallenge, in startRecoverySessionWithCertPath()