Searched refs:keyCharacteristics (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreSecretKeyFactorySpi.java | 81 KeyCharacteristics keyCharacteristics = new KeyCharacteristics(); in getKeyInfo() local 83 keyAliasInKeystore, null, null, keyUid, keyCharacteristics); in getKeyInfo() 101 if (keyCharacteristics.hwEnforced.containsTag(KeymasterDefs.KM_TAG_ORIGIN)) { in getKeyInfo() 104 keyCharacteristics.hwEnforced.getEnum(KeymasterDefs.KM_TAG_ORIGIN, -1)); in getKeyInfo() 105 } else if (keyCharacteristics.swEnforced.containsTag(KeymasterDefs.KM_TAG_ORIGIN)) { in getKeyInfo() 108 keyCharacteristics.swEnforced.getEnum(KeymasterDefs.KM_TAG_ORIGIN, -1)); in getKeyInfo() 113 keyCharacteristics.getUnsignedInt(KeymasterDefs.KM_TAG_KEY_SIZE, -1); in getKeyInfo() 121 keyCharacteristics.getEnums(KeymasterDefs.KM_TAG_PURPOSE)); in getKeyInfo() 126 for (int keymasterPadding : keyCharacteristics.getEnums(KeymasterDefs.KM_TAG_PADDING)) { in getKeyInfo() 149 keyCharacteristics.getEnums(KeymasterDefs.KM_TAG_DIGEST)); in getKeyInfo() [all …]
|
D | AndroidKeyStoreProvider.java | 230 KeyCharacteristics keyCharacteristics = new KeyCharacteristics(); in getKeyCharacteristics() local 232 alias, null, null, uid, keyCharacteristics); in getKeyCharacteristics() 238 return keyCharacteristics; in getKeyCharacteristics() 244 KeyCharacteristics keyCharacteristics) in loadAndroidKeyStorePublicKeyFromKeystore() argument 255 Integer keymasterAlgorithm = keyCharacteristics.getEnum(KeymasterDefs.KM_TAG_ALGORITHM); in loadAndroidKeyStorePublicKeyFromKeystore() 285 @NonNull KeyCharacteristics keyCharacteristics) in loadAndroidKeyStoreKeyPairFromKeystore() argument 289 keyCharacteristics); in loadAndroidKeyStoreKeyPairFromKeystore() 306 @NonNull KeyCharacteristics keyCharacteristics) in loadAndroidKeyStorePrivateKeyFromKeystore() argument 309 keyCharacteristics); in loadAndroidKeyStorePrivateKeyFromKeystore() 323 @NonNull String secretKeyAlias, int uid, @NonNull KeyCharacteristics keyCharacteristics) in loadAndroidKeyStoreSecretKeyFromKeystore() argument [all …]
|
D | AndroidKeyStoreECDSASignatureSpi.java | 156 KeyCharacteristics keyCharacteristics = new KeyCharacteristics(); in initKey() local 158 key.getAlias(), null, null, key.getUid(), keyCharacteristics); in initKey() 162 long keySizeBits = keyCharacteristics.getUnsignedInt(KeymasterDefs.KM_TAG_KEY_SIZE, -1); in initKey()
|
D | AndroidKeyStoreRSACipherSpi.java | 416 KeyCharacteristics keyCharacteristics = new KeyCharacteristics(); in initKey() local 418 keystoreKey.getAlias(), null, null, keystoreKey.getUid(), keyCharacteristics); in initKey() 423 long keySizeBits = keyCharacteristics.getUnsignedInt(KeymasterDefs.KM_TAG_KEY_SIZE, -1); in initKey()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 865 KeyCharacteristics keyCharacteristics = new KeyCharacteristics(); in getInvalidKeyException() local 868 keyCharacteristics); in getInvalidKeyException() 875 keyCharacteristics.getUnsignedLongs(KeymasterDefs.KM_TAG_USER_SECURE_ID); in getInvalidKeyException()
|