Home
last modified time | relevance | path

Searched refs:getKeyMaterial (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DWrappedKey.java159 public byte[] getKeyMaterial() { in getKeyMaterial() method in WrappedKey
228 wrappedKey.getKeyMaterial(), APPLICATION_KEY_ALGORITHM, Cipher.SECRET_KEY); in unwrapKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java133 byte[] unwrappedMaterial = cipher.doFinal(wrappedKey.getKeyMaterial()); in generateAndStoreKey_storesTheWrappedVersionOfTheRawMaterial()
167 byte[] unwrappedMaterial = cipher.doFinal(wrappedKey.getKeyMaterial()); in importKey_storesTheWrappedVersionOfTheRawMaterial()
DWrappedKeyTest.java83 wrappedKey.getKeyMaterial(), KEY_ALGORITHM, Cipher.SECRET_KEY); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
102 wrappedKey.getKeyMaterial(), KEY_ALGORITHM, Cipher.SECRET_KEY); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java94 assertArrayEquals(keyMaterial, retrievedKey.getKeyMaterial()); in insertKey_replacesOldKey()
107 assertArrayEquals(keyMaterial, retrievedKey.getKeyMaterial()); in insertKey_replacesOldKey()
180 assertArrayEquals(keyMaterial, retrievedKey.getKeyMaterial()); in getKey_returnsInsertedKey()
212 assertArrayEquals(keyMaterial1, retrievedKey1.getKeyMaterial()); in getAllKeys_getsKeysWithUserIdAndGenerationId()
219 assertArrayEquals(keyMaterial2, retrievedKey2.getKeyMaterial()); in getAllKeys_getsKeysWithUserIdAndGenerationId()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java104 values.put(KeysEntry.COLUMN_NAME_WRAPPED_KEY, wrappedKey.getKeyMaterial()); in insertKey()
/frameworks/base/services/
Dart-profile8482 PLcom/android/server/locksettings/recoverablekeystore/WrappedKey;->getKeyMaterial()[B