Home
last modified time | relevance | path

Searched refs:fromSecretKey (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DWrappedKeyTest.java74 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()
H A DKeySyncTaskTest.java246 WrappedKey.fromSecretKey(mEncryptKey, applicationKey, TEST_APP_KEY_METADATA_NULL)); in run_doesNotSendAnythingIfNoRecoveryAgentSet()
262 WrappedKey.fromSecretKey(mEncryptKey, applicationKey, TEST_APP_KEY_METADATA_NULL)); in run_doesNotSendAnythingIfNoDeviceIdIsSet()
829 WrappedKey.fromSecretKey(mEncryptKey, applicationKey, metadata)); in addApplicationKey()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DRecoverableKeyGenerator.java104 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in generateAndStoreKey()
148 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in importKey()
H A DWrappedKey.java64 public static WrappedKey fromSecretKey(PlatformEncryptionKey wrappingKey, SecretKey key, in fromSecretKey() method in WrappedKey
/aosp12/frameworks/base/services/
H A Dart-profile24024 PLcom/android/server/locksettings/recoverablekeystore/WrappedKey;->fromSecretKey(Lcom/android/serve…