Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java221 TestUtils.getKeyInfo(keyPair.getPrivate()).getKeySize()); in testDefaultKeySize()
395 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
442 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
488 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
535 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_LegacySpec()
706 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_Defaults()
741 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_Defaults()
795 assertEquals(224, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
864 assertEquals(3072, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
1206 assertEquals(expectedKeySize, keyInfo.getKeySize()); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve()
[all …]
DKeyGeneratorTest.java208 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()
DKeyAttestationTest.java729 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkRsaKeyDetails()
730 assertNull(nonKeyDetailsList.getKeySize()); in checkRsaKeyDetails()
775 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkEcKeyDetails()
776 assertNull(nonKeyDetailsList.getKeySize()); in checkEcKeyDetails()
DKeyGenParameterSpecTest.java61 assertEquals(-1, spec.getKeySize()); in testDefaults()
118 assertEquals(1234, spec.getKeySize()); in testSettersReflectedInGetters()
DAuthorizationList.java356 public Integer getKeySize() { in getKeySize() method in AuthorizationList
DTestUtils.java528 if (spec.getKeySize() >= 0) { in buildUponInternal()
529 result.setKeySize(spec.getKeySize()); in buildUponInternal()
DAndroidKeyStoreTest.java2488 assertEquals(keySizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_AES()
2523 assertEquals(keySizeBytes * 8, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_HMAC()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex102873 int getKeySize()