Searched refs:keyAliasInKeystore (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyFactorySpi.java | 66 String keyAliasInKeystore = keystorePrivateKey.getAlias(); in engineGetKeySpec() local 68 if (keyAliasInKeystore.startsWith(Credentials.USER_PRIVATE_KEY)) { in engineGetKeySpec() 69 entryAlias = keyAliasInKeystore.substring(Credentials.USER_PRIVATE_KEY.length()); in engineGetKeySpec() 71 throw new InvalidKeySpecException("Invalid key alias: " + keyAliasInKeystore); in engineGetKeySpec() 75 mKeyStore, entryAlias, keyAliasInKeystore, keystorePrivateKey.getUid()); in engineGetKeySpec()
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 65 String keyAliasInKeystore = keystoreKey.getAlias(); in engineGetKeySpec() local 67 if (keyAliasInKeystore.startsWith(Credentials.USER_SECRET_KEY)) { in engineGetKeySpec() 68 entryAlias = keyAliasInKeystore.substring(Credentials.USER_SECRET_KEY.length()); in engineGetKeySpec() 70 throw new InvalidKeySpecException("Invalid key alias: " + keyAliasInKeystore); in engineGetKeySpec() 73 return getKeyInfo(mKeyStore, entryAlias, keyAliasInKeystore, keystoreKey.getUid()); in engineGetKeySpec() 76 static KeyInfo getKeyInfo(KeyStore keyStore, String entryAlias, String keyAliasInKeystore, in getKeyInfo() argument 80 keyAliasInKeystore, null, null, keyUid, keyCharacteristics); in getKeyInfo()
|
D | AndroidKeyStoreKeyGeneratorSpi.java | 308 String keyAliasInKeystore = Credentials.USER_SECRET_KEY + spec.getKeystoreAlias(); in engineGenerateKey() local 314 keyAliasInKeystore, in engineGenerateKey() 332 keyAliasInKeystore, spec.getUid(), keyAlgorithmJCA); in engineGenerateKey()
|
D | AndroidKeyStoreSpi.java | 587 String keyAliasInKeystore = ((AndroidKeyStoreSecretKey) key).getAlias(); in setSecretKeyEntry() local 588 if (keyAliasInKeystore == null) { in setSecretKeyEntry() 591 if (!keyAliasInKeystore.startsWith(Credentials.USER_SECRET_KEY)) { in setSecretKeyEntry() 593 + keyAliasInKeystore); in setSecretKeyEntry() 596 keyAliasInKeystore.substring(Credentials.USER_SECRET_KEY.length()); in setSecretKeyEntry() 731 String keyAliasInKeystore = Credentials.USER_SECRET_KEY + entryAlias; in setSecretKeyEntry() local 733 keyAliasInKeystore, in setSecretKeyEntry()
|