Searched refs:getWorkingSpec (Results 1 – 2 of 2) sorted by relevance
203 keyGenerator.init(getWorkingSpec() in testInitWithAlgParamsAndNullSecureRandomHelper()244 keyGenerator.init(getWorkingSpec().build()); in testDefaultKeySize()262 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizesHelper()309 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testDESKeySupportedSizes()365 spec = getWorkingSpec() in testHmacKeySupportedSizesHelper()371 spec = getWorkingSpec() in testHmacKeySupportedSizesHelper()496 getWorkingSpec() in testInitWithUnknownBlockModeFailsHelper()522 getWorkingSpec() in testInitWithUnknownEncryptionPaddingFailsHelper()547 keyGenerator.init(getWorkingSpec() in testInitWithSignaturePaddingFailsHelper()581 getWorkingSpec() in testInitWithUnknownDigestFailsHelper()[all …]
223 generator.initialize(getWorkingSpec().build()); in testDefaultKeySize()238 generator.initialize(getWorkingSpec().setBlockModes("weird").build()); in testInitWithUnknownBlockModeFails()252 generator.initialize(getWorkingSpec().setEncryptionPaddings("weird").build()); in testInitWithUnknownEncryptionPaddingFails()266 generator.initialize(getWorkingSpec().setSignaturePaddings("weird").build()); in testInitWithUnknownSignaturePaddingFails()280 generator.initialize(getWorkingSpec().setDigests("weird").build()); in testInitWithUnknownDigestFails()294 generator.initialize(getWorkingSpec( in testInitRandomizedEncryptionRequiredButViolatedFails()330 generator.initialize(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizationsHelper()1898 private KeyGenParameterSpec.Builder getWorkingSpec() { in getWorkingSpec() method in KeyPairGeneratorTest1899 return getWorkingSpec(0); in getWorkingSpec()1902 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() method in KeyPairGeneratorTest