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/
DKeyGeneratorTest.java276 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testDefaultKeySize()
317 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testAesKeySupportedSizesHelper()
362 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testDESKeySupportedSizes()
424 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testHmacKeySupportedSizesHelper()
792 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testLimitedUseKey()
DKeyPairGeneratorTest.java269 TestUtils.getKeyInfo(keyPair.getPrivate()).getKeySize()); in testDefaultKeySize()
460 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
507 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
553 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_LegacySpec()
601 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_LegacySpec()
1034 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_DefaultsHelper()
1078 assertEquals(2048, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_DefaultsHelper()
1133 assertEquals(224, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
1204 assertEquals(256, keyInfo.getKeySize()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1274 assertEquals(3072, keyInfo.getKeySize()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
[all …]
DKeyGenParameterSpecTest.java80 assertEquals(-1, spec.getKeySize()); in testDefaults()
170 assertEquals(1234, spec.getKeySize()); in testSettersReflectedInGetters()
DKeyAttestationTest.java1810 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkRsaKeyDetails()
1811 assertNull(nonKeyDetailsList.getKeySize()); in checkRsaKeyDetails()
1858 assertEquals(keySize, keyDetailsList.getKeySize().intValue()); in checkEcKeyDetails()
1859 assertNull(nonKeyDetailsList.getKeySize()); in checkEcKeyDetails()
DAndroidKeyStoreTest.java2524 assertEquals(keySizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_AES()
2560 assertEquals(keySizeBytes * 8, TestUtils.getKeyInfo(key).getKeySize()); in testKeyStore_ImportSupportedSizes_HMAC()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java763 if (spec.getKeySize() >= 0) { in buildUponInternal()
764 result.setKeySize(spec.getKeySize()); in buildUponInternal()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java577 public Integer getKeySize() { in getKeySize() method in AuthorizationList
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt39437 method @Deprecated public int getKeySize();
39731 method public int getKeySize();
39793 method public int getKeySize();