Class BaseAlgorithmParameters
java.lang.Object
java.security.AlgorithmParametersSpi
org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters
- Direct Known Subclasses:
IvAlgorithmParameters,PBEPKCS12.AlgParams
public abstract class BaseAlgorithmParameters extends AlgorithmParametersSpi
-
Constructor Summary
Constructors Constructor Description BaseAlgorithmParameters() -
Method Summary
Modifier and Type Method Description protected AlgorithmParameterSpecengineGetParameterSpec(Class paramSpec)Returns theAlgorithmParameterSpecfor thisAlgorithmParametersSpi.protected booleanisASN1FormatString(String format)protected abstract AlgorithmParameterSpeclocalEngineGetParameterSpec(Class paramSpec)Methods inherited from class java.security.AlgorithmParametersSpi
engineGetEncoded, engineGetEncoded, engineInit, engineInit, engineInit, engineToString
-
Constructor Details
-
BaseAlgorithmParameters
public BaseAlgorithmParameters()
-
-
Method Details
-
isASN1FormatString
-
engineGetParameterSpec
protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecExceptionDescription copied from class:AlgorithmParametersSpiReturns theAlgorithmParameterSpecfor thisAlgorithmParametersSpi.- Specified by:
engineGetParameterSpecin classAlgorithmParametersSpi- Parameters:
paramSpec- the type of the parameter specification in which this parameters should be converted.- Returns:
- the
AlgorithmParameterSpecfor thisAlgorithmParametersSpi. - Throws:
InvalidParameterSpecException- if thisAlgorithmParametersSpihas already been initialized, or if this parameters could not be converted to the specified class.
-
localEngineGetParameterSpec
protected abstract AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecException- Throws:
InvalidParameterSpecException
-