Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java202 keyGenerator.init(getWorkingSpec() in testInitWithAlgParamsAndNullSecureRandomHelper()
243 keyGenerator.init(getWorkingSpec().build()); in testDefaultKeySize()
261 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizesHelper()
304 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testDESKeySupportedSizes()
360 spec = getWorkingSpec() in testHmacKeySupportedSizesHelper()
366 spec = getWorkingSpec() in testHmacKeySupportedSizesHelper()
491 getWorkingSpec() in testInitWithUnknownBlockModeFailsHelper()
517 getWorkingSpec() in testInitWithUnknownEncryptionPaddingFailsHelper()
542 keyGenerator.init(getWorkingSpec() in testInitWithSignaturePaddingFailsHelper()
576 getWorkingSpec() in testInitWithUnknownDigestFailsHelper()
[all …]
DKeyPairGeneratorTest.java220 generator.initialize(getWorkingSpec().build()); in testDefaultKeySize()
235 generator.initialize(getWorkingSpec().setBlockModes("weird").build()); in testInitWithUnknownBlockModeFails()
249 generator.initialize(getWorkingSpec().setEncryptionPaddings("weird").build()); in testInitWithUnknownEncryptionPaddingFails()
263 generator.initialize(getWorkingSpec().setSignaturePaddings("weird").build()); in testInitWithUnknownSignaturePaddingFails()
277 generator.initialize(getWorkingSpec().setDigests("weird").build()); in testInitWithUnknownDigestFails()
291 generator.initialize(getWorkingSpec( in testInitRandomizedEncryptionRequiredButViolatedFails()
327 generator.initialize(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizationsHelper()
1897 private KeyGenParameterSpec.Builder getWorkingSpec() { in getWorkingSpec() method in KeyPairGeneratorTest
1898 return getWorkingSpec(0); in getWorkingSpec()
1901 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() method in KeyPairGeneratorTest