Package org.jose4j.jca
Class ProviderContext.SignatureAlgorithmOverride
java.lang.Object
org.jose4j.jca.ProviderContext.SignatureAlgorithmOverride
- Enclosing class:
- ProviderContext
Signature Algorithm info used to override normal defaults.
-
Constructor Summary
ConstructorDescriptionSignatureAlgorithmOverride
(String algorithmName, AlgorithmParameterSpec aps) Create a new SignatureAlgorithmOverride instance -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the signature algorithm to use in place of the normal default one.Gets the AlgorithmParameterSpec to use in place of the normal default one.
-
Constructor Details
-
SignatureAlgorithmOverride
Create a new SignatureAlgorithmOverride instance- Parameters:
algorithmName
- the algorithm name (e.g. SHA256withRSAandMGF1)aps
- the AlgorithmParameterSpec
-
-
Method Details
-
getAlgorithmName
Gets the name of the signature algorithm to use in place of the normal default one.- Returns:
- the signature algorithm name.
-
getAlgorithmParameterSpec
Gets the AlgorithmParameterSpec to use in place of the normal default one.- Returns:
- the AlgorithmParameterSpec.
-