Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DWrappedKeyTest.java75 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() local
94 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NON_NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() local
112 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() local
122 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() local
141 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata() local
160 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_doesNotDieIfSomeKeysAreUnwrappable() local
175 WrappedKey wrappedKey = WrappedKey.fromSecretKey( in decryptWrappedKeys_throwsIfPlatformKeyGenerationIdDoesNotMatch() local
DRecoverableKeyGeneratorTest.java101 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesWrappedKey_nullMetadata() local
111 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesWrappedKey_nonNullMetadata() local
129 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in generateAndStoreKey_storesTheWrappedVersionOfTheRawMaterial() local
163 WrappedKey wrappedKey = mRecoverableKeyStoreDb.getKey(KEYSTORE_UID_SELF, TEST_ALIAS); in importKey_storesTheWrappedVersionOfTheRawMaterial() local
DRecoverableKeyStoreManagerTest.java1227 WrappedKey wrappedKey = new WrappedKey(NONCE, KEY_MATERIAL, keyMetadata, GENERATION_ID, in setRecoveryStatus() local
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGenerator.java104 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in generateAndStoreKey() local
148 WrappedKey wrappedKey = WrappedKey.fromSecretKey(platformKey, key, metadata); in importKey() local
DWrappedKey.java210 WrappedKey wrappedKey = wrappedKeys.get(alias); in unwrapKeys() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java89 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId); in insertKey_replacesOldKey() local
174 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, 120); in getKey_returnsInsertedKey() local
228 WrappedKey wrappedKey = new WrappedKey( in getAllKeys_doesNotReturnKeysWithBadGenerationId() local
246 WrappedKey wrappedKey = new WrappedKey( in getAllKeys_doesNotReturnKeysWithBadUserId() local
343 WrappedKey wrappedKey = in setPlatformKeyGenerationId_invalidatesExistingKeysForUser() local
393 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, in setRecoveryStatus_withSingleKey() local
420 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, in getStatusForAllKeys_with3Keys() local
478 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, in testInvalidateKeysForUser_withSingleKey() local
505 WrappedKey wrappedKey = new WrappedKey(nonce, keyMaterial, keyMetadata, generationId, 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/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java663 protected final Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, in engineUnwrap()
/frameworks/av/drm/libmediadrm/
DIDrm.cpp925 Vector<uint8_t> wrappedKey; in onTransact() local
1219 Vector<uint8_t> sessionId, message, wrappedKey, signature; in onTransact() local
DDrmHal.cpp1009 Vector<uint8_t> &certificate, Vector<uint8_t> &wrappedKey) { in provideProvisionResponse()
1536 Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) { in signRSA()
/frameworks/base/keystore/java/android/security/
DKeyStore.java748 private int importWrappedKeyInternal(String wrappedKeyAlias, byte[] wrappedKey, in importWrappedKeyInternal()
774 public int importWrappedKey(String wrappedKeyAlias, byte[] wrappedKey, in importWrappedKey()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp707 Vector<uint8_t> const &wrappedKey, in signRSA()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp1285 Vector<uint8_t> certificate, wrappedKey; in android_media_MediaDrm_provideProvisionResponseNative() local
1908 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.java97 public long insertKey(int userId, int uid, String alias, WrappedKey wrappedKey) { in insertKey()