Home
last modified time | relevance | path

Searched defs:alias (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/keystore/java/android/security/
DIKeyChainService.aidl31 String requestPrivateKey(String alias); in requestPrivateKey()
32 byte[] getCertificate(String alias); in getCertificate()
33 byte[] getCaCertificates(String alias); in getCaCertificates()
34 boolean isUserSelectable(String alias); in isUserSelectable()
35 void setUserSelectable(String alias, boolean isUserSelectable); in setUserSelectable()
38 int attestKey(in String alias, in byte[] challenge, in int[] idAttestationFlags, in attestKey()
40 boolean setKeyPairCertificate(String alias, in byte[] userCert, in byte[] certChain); in setKeyPairCertificate()
47 in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias, int uid); in installKeyPair()
48 boolean removeKeyPair(String alias); in removeKeyPair()
51 boolean deleteCaCertificate(String alias); in deleteCaCertificate()
[all …]
DCredentials.java186 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { in deleteAllTypesForAlias()
195 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteAllTypesForAlias()
209 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { in deleteCertificateTypesForAlias()
218 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteCertificateTypesForAlias()
231 public static boolean deleteUserKeyTypeForAlias(KeyStore keystore, String alias) { in deleteUserKeyTypeForAlias()
239 public static boolean deleteUserKeyTypeForAlias(KeyStore keystore, String alias, int uid) { in deleteUserKeyTypeForAlias()
251 public static boolean deleteLegacyKeyForAlias(KeyStore keystore, String alias, int uid) { in deleteLegacyKeyForAlias()
DKeyChainAliasCallback.java30 public void alias(@Nullable String alias); in alias() method
DIKeyChainAliasCallback.aidl25 void alias(String alias); in alias() method
DKeyChain.java433 @Nullable String host, int port, @Nullable String alias) { in choosePrivateKeyAlias()
488 @Nullable Uri uri, @Nullable String alias) { in choosePrivateKeyAlias()
547 @Override public void alias(String alias) { in alias() argument
577 public static PrivateKey getPrivateKey(@NonNull Context context, @NonNull String alias) in getPrivateKey()
589 public static KeyPair getKeyPair(@NonNull Context context, @NonNull String alias) in getKeyPair()
647 @NonNull String alias) throws KeyChainException, InterruptedException { in getCertificateChain()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeyStoreProxy.java34 boolean containsAlias(String alias) throws KeyStoreException; in containsAlias()
37 Key getKey(String alias, char[] password) in getKey()
41 void setEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam) in setEntry()
45 void deleteEntry(String alias) throws KeyStoreException; in deleteEntry()
DKeyStoreProxyImpl.java44 public boolean containsAlias(String alias) throws KeyStoreException { in containsAlias()
49 public Key getKey(String alias, char[] password) in getKey()
55 public void setEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam) in setEntry()
61 public void deleteEntry(String alias) throws KeyStoreException { in deleteEntry()
DRecoverableKeyStoreManager.java395 public void setRecoveryStatus(@NonNull String alias, int status) throws RemoteException { in setRecoveryStatus()
661 private @Nullable String getAlias(int userId, int uid, String alias) { in getAlias()
674 public void removeKey(@NonNull String alias) throws RemoteException { in removeKey()
698 public String generateKey(@NonNull String alias) throws RemoteException { in generateKey()
712 public String generateKeyWithMetadata(@NonNull String alias, @Nullable byte[] metadata) in generateKeyWithMetadata()
753 public @Nullable String importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey()
770 public @Nullable String importKeyWithMetadata(@NonNull String alias, @NonNull byte[] keyBytes, in importKeyWithMetadata()
814 public @Nullable String getKey(@NonNull String alias) throws RemoteException { in getKey()
870 String alias = applicationKey.getAlias(); in recoverApplicationKeys() local
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java95 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, in engineGetKey()
115 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain()
155 public Certificate engineGetCertificate(String alias) { in engineGetCertificate()
181 private Certificate getCertificateForPrivateKeyEntry(String alias, byte[] encodedCert) { in getCertificateForPrivateKeyEntry()
253 private Date getModificationDate(String alias) { in getModificationDate()
263 public Date engineGetCreationDate(String alias) { in engineGetCreationDate()
287 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) in engineSetKeyEntry()
355 private void setPrivateKeyEntry(String alias, PrivateKey key, Certificate[] chain, in setPrivateKeyEntry()
763 private void setWrappedKeyEntry(String alias, WrappedKeyEntry entry, in setWrappedKeyEntry()
848 public void engineSetKeyEntry(String alias, byte[] userKey, Certificate[] chain) in engineSetKeyEntry()
[all …]
DAndroidKeyStoreECPublicKey.java33 …public AndroidKeyStoreECPublicKey(String alias, int uid, byte[] x509EncodedForm, ECParameterSpec p… in AndroidKeyStoreECPublicKey()
40 public AndroidKeyStoreECPublicKey(String alias, int uid, ECPublicKey info) { in AndroidKeyStoreECPublicKey()
DAndroidKeyStoreRSAPublicKey.java31 …public AndroidKeyStoreRSAPublicKey(String alias, int uid, byte[] x509EncodedForm, BigInteger modul… in AndroidKeyStoreRSAPublicKey()
38 public AndroidKeyStoreRSAPublicKey(String alias, int uid, RSAPublicKey info) { in AndroidKeyStoreRSAPublicKey()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/
DShadowRecoveryController.java77 public Key generateKey(String alias) in generateKey()
96 public Key getKey(String alias) in getKey()
102 public void removeKey(String alias) throws InternalRecoveryServiceException { in removeKey()
108 public int getRecoveryStatus(String alias) throws InternalRecoveryServiceException { in getRecoveryStatus()
126 public static void setRecoveryStatus(String alias, int status) { in setRecoveryStatus()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryController.java448 public void setRecoveryStatus(@NonNull String alias, int status) in setRecoveryStatus()
473 public int getRecoveryStatus(@NonNull String alias) throws InternalRecoveryServiceException { in getRecoveryStatus()
543 public @NonNull Key generateKey(@NonNull String alias) throws InternalRecoveryServiceException, in generateKey()
584 public @NonNull Key generateKey(@NonNull String alias, @Nullable byte[] metadata) in generateKey()
617 public @NonNull Key importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey()
659 public @NonNull Key importKey(@NonNull String alias, @NonNull byte[] keyBytes, in importKey()
690 public @Nullable Key getKey(@NonNull String alias) in getKey()
726 public void removeKey(@NonNull String alias) throws InternalRecoveryServiceException { in removeKey()
DWrappedApplicationKey.java75 public @NonNull Builder setAlias(@NonNull String alias) { in setAlias()
122 public WrappedApplicationKey(@NonNull String alias, @NonNull byte[] encryptedKeyMaterial) { in WrappedApplicationKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DApplicationKeyStorage.java70 public @Nullable String getGrantAlias(int userId, int uid, String alias) { in getGrantAlias()
78 public void setSymmetricKeyEntry(int userId, int uid, String alias, byte[] secretKey) in setSymmetricKeyEntry()
97 public void deleteEntry(int userId, int uid, String alias) { in deleteEntry()
117 private String getInternalAlias(int userId, int uid, String alias) { in getInternalAlias()
/frameworks/base/core/java/android/security/net/config/
DTrustedCertificateStoreAdapter.java78 public Certificate getCertificate(String alias) { in getCertificate()
83 public Certificate getCertificate(String alias, boolean includeDeletedSystem) { in getCertificate()
88 public Date getCreationDate(String alias) { in getCreationDate()
108 public boolean containsAlias(String alias) { in containsAlias()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DRecoverableKeyStoreSecondaryKeyManager.java72 String alias = generateId(); in generate() local
90 public void remove(String alias) throws InternalRecoveryServiceException { in remove()
98 public Optional<RecoverableKeyStoreSecondaryKey> get(String alias) in get()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DTestOnlyInsecureCertificateHelperTest.java82 String alias = "secureAlias"; in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() local
96 String alias = TrustedRootCertificates.INSECURE_KEY_ALIAS_PREFIX; in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() local
111 String alias = "SECURE_ALIAS" + TrustedRootCertificates.INSECURE_KEY_ALIAS_PREFIX; in testKeepOnlyWhitelistedInsecureKeys() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java93 String existingAlias, String alias) { in installKeys()
156 public boolean putCaCertInKeyStore(String alias, Certificate cert) { in putCaCertInKeyStore()
174 public boolean putUserPrivKeyAndCertsInKeyStore(String alias, Key key, Certificate[] certs) { in putUserPrivKeyAndCertsInKeyStore()
190 public boolean removeEntryFromKeyStore(String alias) { in removeEntryFromKeyStore()
DMacAddressUtil.java88 private Mac obtainMacRandHashFunctionInternal(int uid, String alias) { in obtainMacRandHashFunctionInternal()
133 private SecretKey generateAndPersistNewMacRandomizationSecret(int uid, String alias) { in generateAndPersistNewMacRandomizationSecret()
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl73 String generateKey(String alias); in generateKey()
74 String generateKeyWithMetadata(String alias, in byte[] metadata); in generateKeyWithMetadata()
75 String importKey(String alias, in byte[] keyBytes); in importKey()
76 String importKeyWithMetadata(String alias, in byte[] keyBytes, in byte[] metadata); in importKeyWithMetadata()
77 String getKey(String alias); in getKey()
78 void removeKey(String alias); in removeKey()
81 void setRecoveryStatus(in String alias, int status); in setRecoveryStatus()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DInitializeRecoverableSecondaryKeyTask.java109 String alias = key.getAlias(); in runInternal() local
145 String alias = maybeAlias.get(); in loadFromSetting() local
/frameworks/base/core/java/android/app/admin/
DDelegatedAdminReceiver.java86 @NonNull Intent intent, int uid, @Nullable Uri uri, @Nullable String alias) { in onChoosePrivateKeyAlias()
128 String alias = intent.getStringExtra(EXTRA_CHOOSE_PRIVATE_KEY_ALIAS); in onReceive() local
/frameworks/ex/common/java/com/android/common/content/
DProjectionMap.java37 public Builder add(String alias, String expression) { in add()
79 private void putColumn(String alias, String column) { in putColumn()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageKeySetData.java55 protected void addUpgradeKeySet(String alias) { in addUpgradeKeySet()
104 protected void addDefinedKeySet(long ks, String alias) { in addDefinedKeySet()

1234