OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyAliasInKeystore
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreSecretKeyFactorySpi.java
65
String
keyAliasInKeystore
= keystoreKey.getAlias();
67
if (
keyAliasInKeystore
.startsWith(Credentials.USER_PRIVATE_KEY)) {
68
entryAlias =
keyAliasInKeystore
.substring(Credentials.USER_PRIVATE_KEY.length());
69
} else if (
keyAliasInKeystore
.startsWith(Credentials.USER_SECRET_KEY)){
71
entryAlias =
keyAliasInKeystore
.substring(Credentials.USER_SECRET_KEY.length());
73
throw new InvalidKeySpecException("Invalid key alias: " +
keyAliasInKeystore
);
76
return getKeyInfo(mKeyStore, entryAlias,
keyAliasInKeystore
, keystoreKey.getUid());
79
static KeyInfo getKeyInfo(KeyStore keyStore, String entryAlias, String
keyAliasInKeystore
,
83
keyAliasInKeystore
, null, null, keyUid, keyCharacteristics);
AndroidKeyStoreKeyFactorySpi.java
66
String
keyAliasInKeystore
= keystorePrivateKey.getAlias();
68
if (
keyAliasInKeystore
.startsWith(Credentials.USER_PRIVATE_KEY)) {
69
entryAlias =
keyAliasInKeystore
.substring(Credentials.USER_PRIVATE_KEY.length());
71
throw new InvalidKeySpecException("Invalid key alias: " +
keyAliasInKeystore
);
75
mKeyStore, entryAlias,
keyAliasInKeystore
, keystorePrivateKey.getUid());
AndroidKeyStoreKeyGeneratorSpi.java
304
String
keyAliasInKeystore
= Credentials.USER_PRIVATE_KEY + spec.getKeystoreAlias();
310
keyAliasInKeystore
,
328
keyAliasInKeystore
, spec.getUid(), keyAlgorithmJCA);
AndroidKeyStoreSpi.java
585
String
keyAliasInKeystore
= ((AndroidKeyStoreSecretKey) key).getAlias();
586
if (
keyAliasInKeystore
== null) {
590
if (!
keyAliasInKeystore
.startsWith(keyAliasPrefix)) {
593
if (!
keyAliasInKeystore
.startsWith(keyAliasPrefix)) {
595
+
keyAliasInKeystore
);
599
keyAliasInKeystore
.substring(keyAliasPrefix.length());
[
all
...]
Completed in 88 milliseconds