Searched refs:KEY_MATERIAL (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/ |
D | WrappedApplicationKeyTest.java | 37 private static final byte[] KEY_MATERIAL = new byte[] { 0, 1, 2, 3, 4 }; field in WrappedApplicationKeyTest 59 assertArrayEquals(KEY_MATERIAL, buildTestKey().getEncryptedKeyMaterial()); in build_setsEncryptedKeyMaterial() 89 assertArrayEquals(KEY_MATERIAL, readFromParcel.getEncryptedKeyMaterial()); in writeToParcel_writesKeyMaterial() 125 .setEncryptedKeyMaterial(KEY_MATERIAL) in buildTestKey() 132 .setEncryptedKeyMaterial(KEY_MATERIAL) in buildTestKeyWithMetadata()
|
D | KeyChainSnapshotTest.java | 47 private static final byte[] KEY_MATERIAL = new byte[] { 3, 5, 7, 9, 1 }; field in KeyChainSnapshotTest 103 assertArrayEquals(KEY_MATERIAL, wrappedApplicationKey.getEncryptedKeyMaterial()); in build_setsWrappedApplicationKeys() 170 assertArrayEquals(KEY_MATERIAL, wrappedApplicationKey.getEncryptedKeyMaterial()); in writeToParcel_writesWrappedApplicationKeys() 202 .setEncryptedKeyMaterial(KEY_MATERIAL) in createWrappedApplicationKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManagerTest.java | 149 private static final byte[] KEY_MATERIAL = getUtf8Bytes("keymaterial"); field in RecoverableKeyStoreManagerTest 1273 WrappedKey wrappedKey = new WrappedKey(NONCE, KEY_MATERIAL, keyMetadata, GENERATION_ID, in setRecoveryStatus()
|