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 …]
217 generator.initialize(getWorkingSpec().build()); in testDefaultKeySize()232 generator.initialize(getWorkingSpec().setBlockModes("weird").build()); in testInitWithUnknownBlockModeFails()246 generator.initialize(getWorkingSpec().setEncryptionPaddings("weird").build()); in testInitWithUnknownEncryptionPaddingFails()260 generator.initialize(getWorkingSpec().setSignaturePaddings("weird").build()); in testInitWithUnknownSignaturePaddingFails()274 generator.initialize(getWorkingSpec().setDigests("weird").build()); in testInitWithUnknownDigestFails()288 generator.initialize(getWorkingSpec( in testInitRandomizedEncryptionRequiredButViolatedFails()317 generator.initialize(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizations()1506 private KeyGenParameterSpec.Builder getWorkingSpec() { in getWorkingSpec() method in KeyPairGeneratorTest1507 return getWorkingSpec(0); in getWorkingSpec()1510 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() method in KeyPairGeneratorTest