Home
last modified time | relevance | path

Searched refs:getEncryptedKeyMaterial (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DWrappedApplicationKeyTest.java59 assertArrayEquals(KEY_MATERIAL, buildTestKey().getEncryptedKeyMaterial()); in build_setsEncryptedKeyMaterial()
89 assertArrayEquals(KEY_MATERIAL, readFromParcel.getEncryptedKeyMaterial()); in writeToParcel_writesKeyMaterial()
DKeyChainSnapshotTest.java103 assertArrayEquals(KEY_MATERIAL, wrappedApplicationKey.getEncryptedKeyMaterial()); in build_setsWrappedApplicationKeys()
170 assertArrayEquals(KEY_MATERIAL, wrappedApplicationKey.getEncryptedKeyMaterial()); in writeToParcel_writesWrappedApplicationKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java146 assertThat(roundTripKeys().get(0).getEncryptedKeyMaterial()).isEqualTo(TEST_KEY_1_BYTES); in roundTripKeys_0_persistsKeyBytes()
167 assertThat(roundTripKeys().get(1).getEncryptedKeyMaterial()).isEqualTo(TEST_KEY_2_BYTES); in roundTripKeys_1_persistsKeyBytes()
188 assertThat(roundTripKeys().get(2).getEncryptedKeyMaterial()).isEqualTo(TEST_KEY_3_BYTES); in roundTripKeys_2_persistsKeyBytes()
/frameworks/base/core/java/android/security/keystore/recovery/
DWrappedApplicationKey.java137 public @NonNull byte[] getEncryptedKeyMaterial() { in getEncryptedKeyMaterial() method in WrappedApplicationKey
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java182 assertArrayEquals(b.getEncryptedKeyMaterial(), a.getEncryptedKeyMaterial()); in assertWrappedApplicationKeysAreEqual()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java104 writePropertyTag(xmlSerializer, TAG_KEY_MATERIAL, applicationKey.getEncryptedKeyMaterial()); in writeApplicationKeyProperties()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java874 byte[] encryptedKeyMaterial = applicationKey.getEncryptedKeyMaterial(); in recoverApplicationKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java556 recoveryKey, keyData.getEncryptedKeyMaterial(), TEST_APP_KEY_METADATA_NULL); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
/frameworks/base/api/
Dsystem-current.txt7030 method @NonNull public byte[] getEncryptedKeyMaterial();
/frameworks/base/non-updatable-api/
Dsystem-current.txt6928 method @NonNull public byte[] getEncryptedKeyMaterial();