Searched refs:goodSpec (Results 1 – 2 of 2) sorted by relevance
261 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizesHelper() local269 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper()273 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper()304 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testDESKeySupportedSizes() local311 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()314 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()422 KeyGenParameterSpec.Builder goodSpec = new KeyGenParameterSpec.Builder( in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() local428 assertFalse(goodSpec in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()432 keyGenerator.init(goodSpec.setIsStrongBoxBacked(useStrongbox).build()); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()438 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()[all …]
2396 KeyProtection.Builder goodSpec = in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local2400 assertFalse(goodSpec.build().isDigestsSpecified()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2403 goodSpec.build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2411 TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2420 TestUtils.buildUpon(goodSpec).setDigests().build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2429 TestUtils.buildUpon(goodSpec).setDigests(anotherDigest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2435 TestUtils.buildUpon(goodSpec) in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()