Searched refs:badDigest (Results 1 – 2 of 2) sorted by relevance
1548 String badDigest = KeyProperties.DIGEST_SHA256.equalsIgnoreCase(impliedDigest) in testInitDecryptFailsWhenDigestNotAuthorized() local1557 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()1561 badDigest = KeyProperties.DIGEST_NONE; in testInitDecryptFailsWhenDigestNotAuthorized()1563 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()1567 "Failed for " + transformation + " when authorized only for " + badDigest, in testInitDecryptFailsWhenDigestNotAuthorized()1586 String badDigest = KeyProperties.DIGEST_SHA256.equalsIgnoreCase(impliedDigest) in testInitEncryptSymmetricFailsWhenDigestNotAuthorized() local1595 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()1599 badDigest = KeyProperties.DIGEST_NONE; in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()1601 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()1605 "Failed for " + transformation + " when authorized only for " + badDigest, in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()
925 String badDigest = in testInitSignFailsWhenDigestNotAuthorized() local929 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitSignFailsWhenDigestNotAuthorized()952 String badDigest = in testInitVerifyIgnoresThatDigestNotAuthorized() local956 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitVerifyIgnoresThatDigestNotAuthorized()