Searched refs:anotherDigest (Results 1 – 2 of 2) sorted by relevance
338 String anotherDigest = "SHA-256".equalsIgnoreCase(digest) ? "SHA-384" : "SHA-256"; in testHmacKeyOnlyOneDigestCanBeAuthorized() local341 .setDigests(anotherDigest) in testHmacKeyOnlyOneDigestCanBeAuthorized()347 .setDigests(digest, anotherDigest) in testHmacKeyOnlyOneDigestCanBeAuthorized()434 String anotherDigest = KeyProperties.DIGEST_SHA256.equalsIgnoreCase(digest) in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails() local436 keyGenerator.init(getWorkingSpec().setDigests(anotherDigest).build()); in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails()
2462 String anotherDigest = "SHA-256".equalsIgnoreCase(digest) ? "SHA-384" : "SHA-256"; in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local2466 TestUtils.buildUpon(goodSpec).setDigests(anotherDigest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2473 .setDigests(digest, anotherDigest) in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()