Home
last modified time | relevance | path

Searched refs:isKeyLongEnoughForSignatureAlgorithm (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/performance/
DRsaSignaturePerformanceTest.java101 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm(algorithm, keySize)) { in testRsaSign()
/cts/tests/tests/keystore/src/android/keystore/cts/
DSignatureTest.java431 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm( in testValidSignatureGeneratedForEmptyMessage()
462 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm( in testValidSignatureGeneratedForEmptyMessageByLimitedUseKey()
518 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm( in testEmptySignatureDoesNotVerify()
542 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm( in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
574 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm( in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
620 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm( in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java1007 public static boolean isKeyLongEnoughForSignatureAlgorithm(String algorithm, int keySizeBits) { in isKeyLongEnoughForSignatureAlgorithm() method in TestUtils
1038 public static boolean isKeyLongEnoughForSignatureAlgorithm(String algorithm, Key key) { in isKeyLongEnoughForSignatureAlgorithm() method in TestUtils
1039 return isKeyLongEnoughForSignatureAlgorithm(algorithm, getKeySizeBits(key)); in isKeyLongEnoughForSignatureAlgorithm()