public static class SM4.AlgParamGen extends BaseAlgorithmParameterGenerator
random, strength
Constructor and Description |
---|
AlgParamGen() |
Modifier and Type | Method and Description |
---|---|
protected java.security.AlgorithmParameters |
engineGenerateParameters() |
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec genParamSpec,
java.security.SecureRandom random) |
createParametersInstance, engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec genParamSpec, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
engineInit
in class java.security.AlgorithmParameterGeneratorSpi
java.security.InvalidAlgorithmParameterException
protected java.security.AlgorithmParameters engineGenerateParameters()
engineGenerateParameters
in class java.security.AlgorithmParameterGeneratorSpi