Searched refs:goodSpec (Results 1 – 2 of 2) sorted by relevance
226 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizes() local233 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes()236 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes()313 KeyGenParameterSpec.Builder goodSpec = new KeyGenParameterSpec.Builder( in testHmacKeyOnlyOneDigestCanBeAuthorized() local319 assertFalse(goodSpec.build().isDigestsSpecified()); in testHmacKeyOnlyOneDigestCanBeAuthorized()320 keyGenerator.init(goodSpec.build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()326 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()333 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests().build()); in testHmacKeyOnlyOneDigestCanBeAuthorized()340 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorized()346 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorized()
2433 KeyProtection.Builder goodSpec = in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local2437 assertFalse(goodSpec.build().isDigestsSpecified()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2440 goodSpec.build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2448 TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2457 TestUtils.buildUpon(goodSpec).setDigests().build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2466 TestUtils.buildUpon(goodSpec).setDigests(anotherDigest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2472 TestUtils.buildUpon(goodSpec) in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()