Searched refs:badDigest (Results 1 – 2 of 2) sorted by relevance
1213 String badDigest = KeyProperties.DIGEST_SHA256.equalsIgnoreCase(impliedDigest) in testInitDecryptFailsWhenDigestNotAuthorized() local1222 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()1226 badDigest = KeyProperties.DIGEST_NONE; in testInitDecryptFailsWhenDigestNotAuthorized()1228 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()1232 "Failed for " + transformation + " when authorized only for " + badDigest, in testInitDecryptFailsWhenDigestNotAuthorized()1250 String badDigest = KeyProperties.DIGEST_SHA256.equalsIgnoreCase(impliedDigest) in testInitEncryptSymmetricFailsWhenDigestNotAuthorized() local1259 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()1263 badDigest = KeyProperties.DIGEST_NONE; in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()1265 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()1269 "Failed for " + transformation + " when authorized only for " + badDigest, in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()
879 String badDigest = in testInitSignFailsWhenDigestNotAuthorized() local883 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitSignFailsWhenDigestNotAuthorized()905 String badDigest = in testInitVerifyIgnoresThatDigestNotAuthorized() local909 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitVerifyIgnoresThatDigestNotAuthorized()