/frameworks/base/keystore/java/android/security/ |
D | IKeyChainService.aidl | 31 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 …]
|
D | Credentials.java | 180 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()
|
D | IKeyChainAliasCallback.aidl | 25 void alias(String alias); in alias() method
|
D | KeyChainAliasCallback.java | 30 public void alias(@Nullable String alias); in alias() argument
|
D | KeyChain.java | 425 @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/ |
D | KeyStoreProxy.java | 34 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()
|
D | KeyStoreProxyImpl.java | 44 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()
|
D | RecoverableKeyStoreManager.java | 394 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
|
D | RecoverableKeyGenerator.java | 98 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/ |
D | AndroidKeyStoreSpi.java | 95 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 …]
|
D | AndroidKeyStoreRSAPublicKey.java | 31 …public AndroidKeyStoreRSAPublicKey(String alias, int uid, byte[] x509EncodedForm, BigInteger modul… in AndroidKeyStoreRSAPublicKey() 38 public AndroidKeyStoreRSAPublicKey(String alias, int uid, RSAPublicKey info) { in AndroidKeyStoreRSAPublicKey()
|
D | AndroidKeyStoreECPublicKey.java | 33 …public AndroidKeyStoreECPublicKey(String alias, int uid, byte[] x509EncodedForm, ECParameterSpec p… in AndroidKeyStoreECPublicKey() 40 public AndroidKeyStoreECPublicKey(String alias, int uid, ECPublicKey info) { in AndroidKeyStoreECPublicKey()
|
D | AndroidKeyStorePrivateKey.java | 28 public AndroidKeyStorePrivateKey(String alias, int uid, String algorithm) { in AndroidKeyStorePrivateKey()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowRecoveryController.java | 77 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/ |
D | RecoveryController.java | 448 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()
|
D | WrappedApplicationKey.java | 75 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/ |
D | ApplicationKeyStorage.java | 70 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/ |
D | TrustedCertificateStoreAdapter.java | 78 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/ |
D | RecoverableKeyStoreSecondaryKeyManager.java | 72 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/ |
D | TestOnlyInsecureCertificateHelperTest.java | 82 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
|
D | WrappedKeyTest.java | 119 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/ |
D | ILockSettings.aidl | 73 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/ |
D | DelegatedAdminReceiver.java | 86 @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/ |
D | ProjectionMap.java | 37 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/ |
D | PackageKeySetData.java | 53 protected void addUpgradeKeySet(String alias) { in addUpgradeKeySet() 105 protected void addDefinedKeySet(long ks, String alias) { in addDefinedKeySet()
|