Class BaseAlgorithmParameters
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters
-
- Direct Known Subclasses:
AES.AlgParamsGCM,IvAlgorithmParameters,PBEPKCS12.AlgParams
public abstract class BaseAlgorithmParameters extends AlgorithmParametersSpi
-
-
Constructor Summary
Constructors Constructor Description BaseAlgorithmParameters()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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
-
-
-
-
Method Detail
-
isASN1FormatString
protected boolean isASN1FormatString(String format)
-
engineGetParameterSpec
protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecException
Description 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
-
-