Class AlgorithmParametersSpi
java.lang.Object
java.security.AlgorithmParametersSpi
org.bouncycastle.jcajce.provider.asymmetric.rsa.AlgorithmParametersSpi
- Direct Known Subclasses:
AlgorithmParametersSpi.OAEP,AlgorithmParametersSpi.PSS
public abstract class AlgorithmParametersSpi extends AlgorithmParametersSpi
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlgorithmParametersSpi.OAEPstatic classAlgorithmParametersSpi.PSS -
Constructor Summary
Constructors Constructor Description AlgorithmParametersSpi() -
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
-
AlgorithmParametersSpi
public AlgorithmParametersSpi()
-
-
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
-