Searched refs:getKeyMaterial (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKey.java | 159 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/ |
D | RecoverableKeyGeneratorTest.java | 133 byte[] unwrappedMaterial = cipher.doFinal(wrappedKey.getKeyMaterial()); in generateAndStoreKey_storesTheWrappedVersionOfTheRawMaterial() 167 byte[] unwrappedMaterial = cipher.doFinal(wrappedKey.getKeyMaterial()); in importKey_storesTheWrappedVersionOfTheRawMaterial()
|
D | WrappedKeyTest.java | 83 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/ |
D | RecoverableKeyStoreDbTest.java | 94 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/ |
D | RecoverableKeyStoreDb.java | 104 values.put(KeysEntry.COLUMN_NAME_WRAPPED_KEY, wrappedKey.getKeyMaterial()); in insertKey()
|
/frameworks/base/services/ |
D | art-profile | 8482 PLcom/android/server/locksettings/recoverablekeystore/WrappedKey;->getKeyMaterial()[B
|