Searched refs:fromSecretKey (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKeyTest.java | 74 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() 93 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NON_NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() 111 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() 121 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() 140 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata() 159 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable() 174 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_throwsIfPlatformKeyGenerationIdDoesNotMatch()
|
D | KeySyncTaskTest.java | 250 WrappedKey.fromSecretKey(mEncryptKey, applicationKey, TEST_APP_KEY_METADATA_NULL)); in run_doesNotSendAnythingIfNoRecoveryAgentSet() 266 WrappedKey.fromSecretKey(mEncryptKey, applicationKey, TEST_APP_KEY_METADATA_NULL)); in run_doesNotSendAnythingIfNoDeviceIdIsSet() 919 WrappedKey.fromSecretKey(mEncryptKey, applicationKey, metadata)); in addApplicationKey()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyGenerator.java | 104 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in generateAndStoreKey() 148 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in importKey()
|
D | WrappedKey.java | 64 public static WrappedKey fromSecretKey(PlatformEncryptionKey wrappingKey, SecretKey key, in fromSecretKey() method in WrappedKey
|