Home
last modified time | relevance | path

Searched defs:wrappedKey (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DWrappedKeyTest.java68 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped() local
86 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() local
96 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_decryptsWrappedKeys() local
114 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable() local
129 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_throwsIfPlatformKeyGenerationIdDoesNotMatch() local
DRecoverableKeyGeneratorTest.java96 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesWrappedKey() local
113 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesTheWrappedVersionOfTheRawMaterial() local
127 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in importKey_storesTheWrappedVersionOfTheRawMaterial() local
DRecoverableKeyStoreManagerTest.java1149 WrappedKey wrappedKey = new WrappedKey(NONCE, KEY_MATERIAL, GENERATION_ID, status); in setRecoveryStatus() local
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGenerator.java100 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key); in generateAndStoreKey() local
142 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key); in importKey() local
DWrappedKey.java194 WrappedKey wrappedKey = wrappedKeys.get(alias); in unwrapKeys() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java159 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, generationId, 120); in getKey_returnsInsertedKey() local
178 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, generationId); in getAllKeys_getsKeysWithUserIdAndGenerationId() local
195 WrappedKey wrappedKey = new WrappedKey( in getAllKeys_doesNotReturnKeysWithBadGenerationId() local
212 WrappedKey wrappedKey = new WrappedKey( in getAllKeys_doesNotReturnKeysWithBadUserId() local
256 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, generationId, status); in setRecoveryStatus_withSingleKey() local
281 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, generationId, status); in getStatusForAllKeys_with3Keys() local
334 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, generationId, status); in testInvalidateKeysWithOldGenerationId_withSingleKey() local
358 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, generationId, status); in testInvalidateKeysForUserIdOnCustomScreenLock() local
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h101 Vector<uint8_t>& wrappedKey) { in provideProvisionResponse()
251 const Vector<uint8_t>& wrappedKey, in signRSA()
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA()
/frameworks/base/media/java/android/media/
DMediaDrm.java1576 @NonNull String algorithm, @NonNull byte[] wrappedKey, @NonNull byte[] message); in signRSANative()
1592 @NonNull byte[] wrappedKey, @NonNull byte[] message) { in signRSA()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java663 protected final Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, in engineUnwrap()
/frameworks/av/drm/libmediadrm/
DIDrm.cpp867 Vector<uint8_t> wrappedKey; in onTransact() local
1121 Vector<uint8_t> sessionId, message, wrappedKey, signature; in onTransact() local
DDrmHal.cpp853 Vector<uint8_t> &certificate, Vector<uint8_t> &wrappedKey) { in provideProvisionResponse()
1304 Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) { in signRSA()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp707 Vector<uint8_t> const &wrappedKey, in signRSA()
/frameworks/base/keystore/java/android/security/
DKeyStore.java516 public int importWrappedKey(String wrappedKeyAlias, byte[] wrappedKey, in importWrappedKey()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp1189 Vector<uint8_t> certificate, wrappedKey; in android_media_MediaDrm_provideProvisionResponseNative() local
1756 Vector<uint8_t> wrappedKey(JByteArrayToVector(env, jwrappedKey)); in android_media_MediaDrm_signRSANative() local
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java96 public long insertKey(int userId, int uid, String alias, WrappedKey wrappedKey) { in insertKey()