Package org.bouncycastle.jcajce.spec
Class CompositeSignatureSpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.CompositeSignatureSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class CompositeSignatureSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpecParameters for the CompositeSignature algorithm.
-
-
Constructor Summary
Constructors Constructor Description CompositeSignatureSpec(boolean isPrehashMode)Base Constructor.CompositeSignatureSpec(boolean isPrehashMode, java.security.spec.AlgorithmParameterSpec secondaryParameterSpec)Constructor which allows for another parameter spec (usually ContextParameterSpec).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.spec.AlgorithmParameterSpecgetSecondarySpec()booleanisPrehashMode()
-
-
-
Constructor Detail
-
CompositeSignatureSpec
public CompositeSignatureSpec(boolean isPrehashMode)
Base Constructor.- Parameters:
isPrehashMode- if true, msg passed in will be the precalculated pre-hash.
-
CompositeSignatureSpec
public CompositeSignatureSpec(boolean isPrehashMode, java.security.spec.AlgorithmParameterSpec secondaryParameterSpec)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.
-
-