Searched refs:getKeyInfo (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 245 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testDefaultKeySize() 283 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testAesKeySupportedSizesHelper() 324 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testDESKeySupportedSizes() 385 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testHmacKeySupportedSizesHelper() 435 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() 444 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() 707 KeyInfo keyInfo = TestUtils.getKeyInfo(key); in testGenerateHonorsRequestedAuthorizationsHelper()
|
D | KeyPairGeneratorTest.java | 223 TestUtils.getKeyInfo(keyPair.getPrivate()).getKeySize()); in testDefaultKeySize() 339 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerateHonorsRequestedAuthorizationsHelper() 405 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_LegacySpec() 452 keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_LegacySpec() 498 keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_LegacySpec() 545 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_RSA_LegacySpec() 798 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_ModernSpec_DefaultsHelper() 841 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_RSA_ModernSpec_DefaultsHelper() 896 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() 967 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() [all …]
|
D | SecretKeyFactoryTest.java | 235 KeyInfo keyInfo = TestUtils.getKeyInfo(keystoreKey); in testGenerateSecretRejectsKeyInfo()
|
D | AndroidKeyStoreTest.java | 2406 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() 2414 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() 2466 assertEquals(keySizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_AES() 2501 assertEquals(keySizeBytes * 8, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_HMAC()
|
D | KeyFactoryTest.java | 455 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGeneratePrivateAndPublicRejectKeyInfo()
|
D | TestUtils.java | 266 static KeyInfo getKeyInfo(Key key) throws InvalidKeySpecException, NoSuchAlgorithmException, in getKeyInfo() method in TestUtils
|