Package org.bouncycastle.jcajce.spec
Class CompositeSignatureSpec
java.lang.Object
org.bouncycastle.jcajce.spec.CompositeSignatureSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
Parameters for the CompositeSignature algorithm.
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeSignatureSpec(boolean isPrehashMode) Base Constructor.CompositeSignatureSpec(boolean isPrehashMode, AlgorithmParameterSpec secondaryParameterSpec) Constructor which allows for another parameter spec (usually ContextParameterSpec). -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
CompositeSignatureSpec
public CompositeSignatureSpec(boolean isPrehashMode) Base Constructor.- Parameters:
isPrehashMode- if true, msg passed in will be the precalculated pre-hash.
-
CompositeSignatureSpec
Constructor which allows for another parameter spec (usually ContextParameterSpec).- Parameters:
isPrehashMode- if true, msg passed in will be the precalculated pre-hash.secondaryParameterSpec- the other spec, in addition to pre-hash mode, which needs to be applied.
-
-
Method Details
-
isPrehashMode
public boolean isPrehashMode() -
getSecondarySpec
-