Home
last modified time | relevance | path

Searched defs:alias (Results 1 – 25 of 90) 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.java180 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { in deleteAllTypesForAlias()
189 public static boolean deleteAllTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteAllTypesForAlias()
203 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { in deleteCertificateTypesForAlias()
212 public static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias, int uid) { in deleteCertificateTypesForAlias()
225 public static boolean deleteUserKeyTypeForAlias(KeyStore keystore, String alias) { in deleteUserKeyTypeForAlias()
233 public static boolean deleteUserKeyTypeForAlias(KeyStore keystore, String alias, int uid) { in deleteUserKeyTypeForAlias()
245 public static boolean deleteLegacyKeyForAlias(KeyStore keystore, String alias, int uid) { in deleteLegacyKeyForAlias()
DIKeyChainAliasCallback.aidl25 void alias(String alias); in alias() method
DKeyChainAliasCallback.java30 public void alias(@Nullable String alias); in alias() argument
DKeyChain.java425 @Nullable String host, int port, @Nullable String alias) { in choosePrivateKeyAlias()
480 @Nullable Uri uri, @Nullable String alias) { in choosePrivateKeyAlias()
539 @Override public void alias(String alias) { in alias() argument
569 public static PrivateKey getPrivateKey(@NonNull Context context, @NonNull String alias) in getPrivateKey()
581 public static KeyPair getKeyPair(@NonNull Context context, @NonNull String alias) in getKeyPair()
639 @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.java394 public void setRecoveryStatus(@NonNull String alias, int status) throws RemoteException { in setRecoveryStatus()
660 private @Nullable String getAlias(int userId, int uid, String alias) { in getAlias()
673 public void removeKey(@NonNull String alias) throws RemoteException { in removeKey()
697 public String generateKey(@NonNull String alias) throws RemoteException { in generateKey()
711 public String generateKeyWithMetadata(@NonNull String alias, @Nullable byte[] metadata) in generateKeyWithMetadata()
754 public @Nullable String importKey(@NonNull String alias, @NonNull byte[] keyBytes) in importKey()
771 public @Nullable String importKeyWithMetadata(@NonNull String alias, @NonNull byte[] keyBytes, in importKeyWithMetadata()
817 public @Nullable String getKey(@NonNull String alias) throws RemoteException { in getKey()
873 String alias = applicationKey.getAlias(); in recoverApplicationKeys() local
DRecoverableKeyGenerator.java98 PlatformEncryptionKey platformKey, int userId, int uid, String alias, in generateAndStoreKey()
143 @NonNull PlatformEncryptionKey platformKey, int userId, int uid, @NonNull String alias, in importKey()
/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 …]
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()
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()
DAndroidKeyStorePrivateKey.java28 public AndroidKeyStorePrivateKey(String alias, int uid, String algorithm) { in AndroidKeyStorePrivateKey()
/frameworks/base/services/robotests/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/services/backup/java/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
DWrappedKeyTest.java119 String alias = "karlin"; in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() local
138 String alias = "karlin"; in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata() local
157 String alias = "karlin"; in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable() local
/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/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.java53 protected void addUpgradeKeySet(String alias) { in addUpgradeKeySet()
105 protected void addDefinedKeySet(long ks, String alias) { in addDefinedKeySet()

1234