Home
last modified time | relevance | path

Searched refs:anotherDigest (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java338 String anotherDigest = "SHA-256".equalsIgnoreCase(digest) ? "SHA-384" : "SHA-256"; in testHmacKeyOnlyOneDigestCanBeAuthorized() local
341 .setDigests(anotherDigest) in testHmacKeyOnlyOneDigestCanBeAuthorized()
347 .setDigests(digest, anotherDigest) in testHmacKeyOnlyOneDigestCanBeAuthorized()
434 String anotherDigest = KeyProperties.DIGEST_SHA256.equalsIgnoreCase(digest) in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails() local
436 keyGenerator.init(getWorkingSpec().setDigests(anotherDigest).build()); in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails()
DAndroidKeyStoreTest.java2462 String anotherDigest = "SHA-256".equalsIgnoreCase(digest) ? "SHA-384" : "SHA-256"; in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
2466 TestUtils.buildUpon(goodSpec).setDigests(anotherDigest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2473 .setDigests(digest, anotherDigest) in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()