Searched refs:goodSpec (Results 1 – 2 of 2) sorted by relevance
217 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizes() local224 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes()227 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes()304 KeyGenParameterSpec.Builder goodSpec = new KeyGenParameterSpec.Builder( in testHmacKeyOnlyOneDigestCanBeAuthorized() local310 assertFalse(goodSpec.build().isDigestsSpecified()); in testHmacKeyOnlyOneDigestCanBeAuthorized()311 keyGenerator.init(goodSpec.build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()317 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()324 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests().build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()331 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorized()337 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorized()
2420 KeyProtection.Builder goodSpec = in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local2424 assertFalse(goodSpec.build().isDigestsSpecified()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2427 goodSpec.build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2435 TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2444 TestUtils.buildUpon(goodSpec).setDigests().build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2453 TestUtils.buildUpon(goodSpec).setDigests(anotherDigest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2459 TestUtils.buildUpon(goodSpec) in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()