Home
last modified time | relevance | path

Searched refs:getKeySize (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java246 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testDefaultKeySize()
285 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testAesKeySupportedSizesHelper()
329 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testDESKeySupportedSizes()
390 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testHmacKeySupportedSizesHelper()
749 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testLimitedUseKey()
DKeyPairGeneratorTest.java226 TestUtils.getKeyInfo(keyPair.getPrivate()).getKeySize()); in testDefaultKeySize()
409 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
456 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
502 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
549 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_LegacySpec()
802 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_DefaultsHelper()
845 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_DefaultsHelper()
899 assertEquals(224, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
969 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1038 assertEquals(3072, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
[all …]
DKeyGenParameterSpecTest.java66 assertEquals(-1, spec.getKeySize()); in testDefaults()
130 assertEquals(1234, spec.getKeySize()); in testSettersReflectedInGetters()
DKeyAttestationTest.java1228 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkRsaKeyDetails()
1229 assertNull(nonKeyDetailsList.getKeySize()); in checkRsaKeyDetails()
1274 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkEcKeyDetails()
1275 assertNull(nonKeyDetailsList.getKeySize()); in checkEcKeyDetails()
DTestUtils.java606 if (spec.getKeySize() >= 0) { in buildUponInternal()
607 result.setKeySize(spec.getKeySize()); in buildUponInternal()
DAndroidKeyStoreTest.java2376 assertEquals(keySizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_AES()
2411 assertEquals(keySizeBytes * 8, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_HMAC()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java559 public Integer getKeySize() { in getKeySize() method in AuthorizationList