Searched refs:isKeyLongEnoughForSignatureAlgorithm (Results 1 – 3 of 3) sorted by relevance
101 if (!TestUtils.isKeyLongEnoughForSignatureAlgorithm(algorithm, keySize)) { in testRsaSign()
431 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()
1007 public static boolean isKeyLongEnoughForSignatureAlgorithm(String algorithm, int keySizeBits) { in isKeyLongEnoughForSignatureAlgorithm() method in TestUtils1038 public static boolean isKeyLongEnoughForSignatureAlgorithm(String algorithm, Key key) { in isKeyLongEnoughForSignatureAlgorithm() method in TestUtils1039 return isKeyLongEnoughForSignatureAlgorithm(algorithm, getKeySizeBits(key)); in isKeyLongEnoughForSignatureAlgorithm()