Searched refs:getWorkingSpec (Results 1 – 2 of 2) sorted by relevance
185 keyGenerator.init(getWorkingSpec().build(), (SecureRandom) null); in testInitWithAlgParamsAndNullSecureRandom()215 keyGenerator.init(getWorkingSpec().build()); in testDefaultKeySize()226 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizes()274 spec = getWorkingSpec().setKeySize(i).build(); in testHmacKeySupportedSizes()277 spec = getWorkingSpec().setKeySize(i).build(); in testHmacKeySupportedSizes()362 keyGenerator.init(getWorkingSpec().setBlockModes("weird").build()); in testInitWithUnknownBlockModeFails()376 keyGenerator.init(getWorkingSpec().setEncryptionPaddings("weird").build()); in testInitWithUnknownEncryptionPaddingFails()390 keyGenerator.init(getWorkingSpec() in testInitWithSignaturePaddingFails()414 keyGenerator.init(getWorkingSpec().setDigests(digests).build()); in testInitWithUnknownDigestFails()436 keyGenerator.init(getWorkingSpec().setDigests(anotherDigest).build()); in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails()[all …]
218 generator.initialize(getWorkingSpec().build()); in testDefaultKeySize()233 generator.initialize(getWorkingSpec().setBlockModes("weird").build()); in testInitWithUnknownBlockModeFails()247 generator.initialize(getWorkingSpec().setEncryptionPaddings("weird").build()); in testInitWithUnknownEncryptionPaddingFails()261 generator.initialize(getWorkingSpec().setSignaturePaddings("weird").build()); in testInitWithUnknownSignaturePaddingFails()275 generator.initialize(getWorkingSpec().setDigests("weird").build()); in testInitWithUnknownDigestFails()289 generator.initialize(getWorkingSpec( in testInitRandomizedEncryptionRequiredButViolatedFails()318 generator.initialize(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizations()1535 private KeyGenParameterSpec.Builder getWorkingSpec() { in getWorkingSpec() method in KeyPairGeneratorTest1536 return getWorkingSpec(0); in getWorkingSpec()1539 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() method in KeyPairGeneratorTest