Searched refs:getKeyInfo (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 208 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testDefaultKeySize() 237 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testAesKeySupportedSizes() 277 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testHmacKeySupportedSizes() 314 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorized() 320 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorized() 495 KeyInfo keyInfo = TestUtils.getKeyInfo(key); in testGenerateHonorsRequestedAuthorizations()
|
D | KeyPairGeneratorTest.java | 221 TestUtils.getKeyInfo(keyPair.getPrivate()).getKeySize()); in testDefaultKeySize() 329 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerateHonorsRequestedAuthorizations() 394 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_LegacySpec() 441 keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_LegacySpec() 487 keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_LegacySpec() 534 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_RSA_LegacySpec() 705 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_ModernSpec_Defaults() 740 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_RSA_ModernSpec_Defaults() 794 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() 863 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() [all …]
|
D | SecretKeyFactoryTest.java | 227 KeyInfo keyInfo = TestUtils.getKeyInfo(keystoreKey); in testGenerateSecretRejectsKeyInfo()
|
D | AndroidKeyStoreTest.java | 2436 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() 2444 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() 2496 assertEquals(keySizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_AES() 2531 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 | 245 static KeyInfo getKeyInfo(Key key) throws InvalidKeySpecException, NoSuchAlgorithmException, in getKeyInfo() method in TestUtils
|