Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java226 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizes() local
233 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() local
319 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()
DAndroidKeyStoreTest.java2433 KeyProtection.Builder goodSpec = in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
2437 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()