Searched refs:getWorkingSpec (Results 1 – 2 of 2) sorted by relevance
176 keyGenerator.init(getWorkingSpec().build(), (SecureRandom) null); in testInitWithAlgParamsAndNullSecureRandom()206 keyGenerator.init(getWorkingSpec().build()); in testDefaultKeySize()217 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizes()265 spec = getWorkingSpec().setKeySize(i).build(); in testHmacKeySupportedSizes()268 spec = getWorkingSpec().setKeySize(i).build(); in testHmacKeySupportedSizes()353 keyGenerator.init(getWorkingSpec().setBlockModes("weird").build()); in testInitWithUnknownBlockModeFails()367 keyGenerator.init(getWorkingSpec().setEncryptionPaddings("weird").build()); in testInitWithUnknownEncryptionPaddingFails()381 keyGenerator.init(getWorkingSpec() in testInitWithSignaturePaddingFails()405 keyGenerator.init(getWorkingSpec().setDigests(digests).build()); in testInitWithUnknownDigestFails()427 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()1533 private KeyGenParameterSpec.Builder getWorkingSpec() { in getWorkingSpec() method in KeyPairGeneratorTest1534 return getWorkingSpec(0); in getWorkingSpec()1537 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() method in KeyPairGeneratorTest