Searched refs:getKeySize (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 221 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() 796 assertEquals(224, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() 866 assertEquals(3072, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() 1208 assertEquals(expectedKeySize, keyInfo.getKeySize()); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve() [all …]
|
D | KeyGeneratorTest.java | 217 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testDefaultKeySize() 246 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testAesKeySupportedSizes() 286 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testHmacKeySupportedSizes()
|
D | KeyGenParameterSpecTest.java | 61 assertEquals(-1, spec.getKeySize()); in testDefaults() 120 assertEquals(1234, spec.getKeySize()); in testSettersReflectedInGetters()
|
D | KeyAttestationTest.java | 787 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkRsaKeyDetails() 788 assertNull(nonKeyDetailsList.getKeySize()); in checkRsaKeyDetails() 833 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkEcKeyDetails() 834 assertNull(nonKeyDetailsList.getKeySize()); in checkEcKeyDetails()
|
D | TestUtils.java | 548 if (spec.getKeySize() >= 0) { in buildUponInternal() 549 result.setKeySize(spec.getKeySize()); in buildUponInternal()
|
D | AndroidKeyStoreTest.java | 2503 assertEquals(keySizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_AES() 2538 assertEquals(keySizeBytes * 8, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_HMAC()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 404 public Integer getKeySize() { in getKeySize() method in AuthorizationList
|