HomeSort by relevance Sort by last modified time
    Searched refs:KeyInfo (Results 1 - 20 of 20) sorted by null

  /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 146 struct KeyInfo {
159 #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");
  /external/clang/lib/Basic/
IdentifierTable.cpp 365 IdentifierInfo **KeyInfo = reinterpret_cast<IdentifierInfo **>(this+1);
367 KeyInfo[i] = IIV[i];
  /device/google/contexthub/firmware/src/
appSec.c 326 common.payInfoSize = sizeof(struct KeyInfo);
nanohubCommand.c 334 struct KeyInfo *ki = (struct KeyInfo *)(&(app->hdr) + 1);
    [all...]
  /device/google/contexthub/util/nanoapp_postprocess/
postprocess.c 488 struct KeyInfo ki = { .data = keyId };
  /frameworks/native/services/inputflinger/tests/
InputReader_test.cpp 308 struct KeyInfo {
323 KeyedVector<int32_t, KeyInfo> keysByScanCode;
324 KeyedVector<int32_t, KeyInfo> keysByUsageCode;
418 KeyInfo info;
526 const KeyInfo* key = getKey(device, scanCode, usageCode);
543 const KeyInfo* getKey(Device* device, int32_t scanCode, int32_t usageCode) const {
    [all...]
  /external/sqlite/dist/orig/
sqlite3.c     [all...]
  /external/sqlite/dist/
sqlite3.c     [all...]
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 
  /frameworks/base/
compiled-classes-phone     [all...]

Completed in 989 milliseconds