Searched refs:getKeySize (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 223 TestUtils.getKeyInfo(keyPair.getPrivate()).getKeySize()); in testDefaultKeySize() 406 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec() 453 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec() 499 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec() 546 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_LegacySpec() 799 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_DefaultsHelper() 842 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_DefaultsHelper() 897 assertEquals(224, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() 968 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() 1038 assertEquals(3072, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() [all …]
|
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()
|
D | KeyGenParameterSpecTest.java | 61 assertEquals(-1, spec.getKeySize()); in testDefaults() 120 assertEquals(1234, spec.getKeySize()); in testSettersReflectedInGetters()
|
D | KeyAttestationTest.java | 1082 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkRsaKeyDetails() 1083 assertNull(nonKeyDetailsList.getKeySize()); in checkRsaKeyDetails() 1128 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkEcKeyDetails() 1129 assertNull(nonKeyDetailsList.getKeySize()); in checkEcKeyDetails()
|
D | TestUtils.java | 550 if (spec.getKeySize() >= 0) { in buildUponInternal() 551 result.setKeySize(spec.getKeySize()); in buildUponInternal()
|
D | AndroidKeyStoreTest.java | 2466 assertEquals(keySizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_AES() 2501 assertEquals(keySizeBytes * 8, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_HMAC()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 426 public Integer getKeySize() { in getKeySize() method in AuthorizationList
|