Class CompositeSignatureSpec

  • All Implemented Interfaces:
    java.security.spec.AlgorithmParameterSpec

    public class CompositeSignatureSpec
    extends java.lang.Object
    implements java.security.spec.AlgorithmParameterSpec
    Parameters 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.AlgorithmParameterSpec getSecondarySpec()  
      boolean isPrehashMode()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Method Detail

      • isPrehashMode

        public boolean isPrehashMode()
      • getSecondarySpec

        public java.security.spec.AlgorithmParameterSpec getSecondarySpec()