Class CompositeSignatureSpec

java.lang.Object
org.bouncycastle.jcajce.spec.CompositeSignatureSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class CompositeSignatureSpec extends Object implements AlgorithmParameterSpec
Parameters for the CompositeSignature algorithm.
  • Constructor Details

    • 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, 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.
  • Method Details

    • isPrehashMode

      public boolean isPrehashMode()
    • getSecondarySpec

      public AlgorithmParameterSpec getSecondarySpec()