/frameworks/av/drm/mediacas/plugins/clearkey/ |
KeyFetcher.h | 33 struct KeyInfo { 50 uint64_t* asset_id, vector<KeyInfo>* keys) = 0;
|
ClearKeyFetcher.h | 51 std::vector<KeyInfo>* keys) override;
|
ClearKeySessionLibrary.h | 50 struct KeyInfo { 57 KeyInfo mKeyInfo[kNumKeys];
|
ClearKeyFetcher.cpp | 51 uint64_t* asset_id, std::vector<KeyInfo>* keys) { 117 KeyInfo key;
|
ClearKeyCasPlugin.cpp | 315 std::vector<KeyFetcher::KeyInfo> keys;
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyInfoTest.java | 20 import android.security.keystore.KeyInfo; 61 KeyInfo info = keyFactory.getKeySpec(key, KeyInfo.class);
|
SecretKeyFactoryTest.java | 20 import android.security.keystore.KeyInfo; 115 KeyInfo keyInfo = (KeyInfo) keyFactory.getKeySpec(key, KeyInfo.class); 116 assertEquals("test1", keyInfo.getKeystoreAlias()); 117 assertEquals(purposes, keyInfo.getPurposes()); 119 Arrays.asList(blockModes), keyInfo.getBlockModes()); 121 Arrays.asList(encryptionPaddings), keyInfo.getEncryptionPaddings()); 122 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()) [all...] |
KeyPairGeneratorTest.java | 21 import android.security.keystore.KeyInfo; 329 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); 330 assertEquals(purposes, keyInfo.getPurposes()); 332 Arrays.asList(keyInfo.getBlockModes()), blockModes); 335 new ArrayList<String>(Arrays.asList(keyInfo.getEncryptionPaddings())); 342 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); 347 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); 348 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); 350 keyInfo.getKeyValidityForOriginationEnd()) [all...] |
KeyFactoryTest.java | 20 import android.security.keystore.KeyInfo; 121 KeyInfo keyInfo = keyFactory.getKeySpec(keyPair.getPrivate(), KeyInfo.class); 122 assertEquals("test1", keyInfo.getKeystoreAlias()); 123 assertEquals(purposes, keyInfo.getPurposes()); 125 Arrays.asList(keyInfo.getBlockModes()), blockModes); 128 new ArrayList<String>(Arrays.asList(keyInfo.getEncryptionPaddings())); 135 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); 140 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())) [all...] |
TestUtils.java | 21 import android.security.keystore.KeyInfo; 245 static KeyInfo getKeyInfo(Key key) throws InvalidKeySpecException, NoSuchAlgorithmException, 249 .getKeySpec(key, KeyInfo.class); 251 return (KeyInfo) SecretKeyFactory.getInstance(key.getAlgorithm(), "AndroidKeyStore") 252 .getKeySpec((SecretKey) key, KeyInfo.class); [all...] |
KeyGeneratorTest.java | 20 import android.security.keystore.KeyInfo; 495 KeyInfo keyInfo = TestUtils.getKeyInfo(key); 496 assertEquals(purposes, keyInfo.getPurposes()); 498 Arrays.asList(blockModes), keyInfo.getBlockModes()); 500 Arrays.asList(encryptionPaddings), keyInfo.getEncryptionPaddings()); 501 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); 502 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings())); 503 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart()); 505 keyInfo.getKeyValidityForOriginationEnd()) [all...] |
/device/google/contexthub/lib/include/nanohub/ |
nanohub.h | 175 struct KeyInfo { 188 #define AES_KEY_ID(_id) (((struct KeyInfo){ .key_type = CKK_AES, .obj_type = CKO_SECRET_KEY, .size = 256, .id = (_id) }).data)
|
/frameworks/base/keystore/java/android/security/keystore/ |
KeyInfo.java | 39 * The following example illustrates how to obtain a {@code KeyInfo} describing the provided Android 45 * KeyInfo keyInfo; 47 * keyInfo = (KeyInfo) factory.getKeySpec(key, KeyInfo.class); 53 * The following example illustrates how to obtain a {@code KeyInfo} describing the provided 59 * KeyInfo keyInfo; 61 * keyInfo = factory.getKeySpec(key, KeyInfo.class) [all...] |
AndroidKeyStoreSecretKeyFactorySpi.java | 61 if (!KeyInfo.class.equals(keySpecClass)) { 76 static KeyInfo getKeyInfo(KeyStore keyStore, String entryAlias, String keyAliasInKeystore, 187 return new KeyInfo(entryAlias,
|
AndroidKeyStoreKeyFactorySpi.java | 59 } else if (KeyInfo.class.equals(keySpecClass)) { 63 + ". KeyInfo can be obtained only for Android Keystore private keys");
|
/prebuilts/go/darwin-x86/src/internal/syscall/windows/registry/ |
key.go | 24 // with KeyInfo.ModTime removed to prevent dependency cycles. 155 // A KeyInfo describes the statistics of a key. It is returned by Stat. 156 type KeyInfo struct { 166 func (k Key) Stat() (*KeyInfo, error) { 167 var ki KeyInfo
|
/prebuilts/go/linux-x86/src/internal/syscall/windows/registry/ |
key.go | 24 // with KeyInfo.ModTime removed to prevent dependency cycles. 155 // A KeyInfo describes the statistics of a key. It is returned by Stat. 156 type KeyInfo struct { 166 func (k Key) Stat() (*KeyInfo, error) { 167 var ki KeyInfo
|
/frameworks/av/drm/mediacas/plugins/clearkey/tests/ |
ClearKeyFetcherTest.cpp | 94 std::vector<KeyFetcher::KeyInfo> keys;
|
/external/clang/lib/Basic/ |
IdentifierTable.cpp | 366 IdentifierInfo **KeyInfo = reinterpret_cast<IdentifierInfo **>(this+1); 368 KeyInfo[i] = IIV[i];
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
SecureBootConfigImpl.c | 534 CPL_KEY_INFO *KeyInfo;
545 KeyInfo = NULL;
564 KeyInfo = (CPL_KEY_INFO *) KeyBlob;
565 if (KeyInfo->KeyLengthInBits / 8 != WIN_CERT_UEFI_RSA2048_SIZE) {
574 KeyLenInBytes = KeyInfo->KeyLengthInBits / 8;
[all...] |
/device/google/contexthub/firmware/os/core/ |
appSec.c | 325 common.payInfoSize = sizeof(struct KeyInfo);
|
nanohubCommand.c | 345 struct KeyInfo *ki = (struct KeyInfo *)(&(app->hdr) + 1); [all...] |
/device/google/contexthub/util/nanoapp_postprocess/ |
postprocess.c | 576 struct KeyInfo ki = { .data = keyId };
|
postprocess_elf.c | 834 struct KeyInfo ki = { .data = keyId }; [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputReader_test.cpp | 358 struct KeyInfo { 373 KeyedVector<int32_t, KeyInfo> keysByScanCode; 374 KeyedVector<int32_t, KeyInfo> keysByUsageCode; 516 KeyInfo info; 624 const KeyInfo* key = getKey(device, scanCode, usageCode); 641 const KeyInfo* getKey(Device* device, int32_t scanCode, int32_t usageCode) const { [all...] |