Class RainbowPublicKeySpec

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

    public class RainbowPublicKeySpec
    extends java.lang.Object
    implements java.security.spec.KeySpec
    This class provides a specification for a RainbowSignature public key.
    See Also:
    KeySpec
    • Constructor Detail

      • RainbowPublicKeySpec

        public RainbowPublicKeySpec​(int docLength,
                                    short[][] coeffquadratic,
                                    short[][] coeffSingular,
                                    short[] coeffScalar)
        Constructor
        Parameters:
        docLength -
        coeffquadratic -
        coeffSingular -
        coeffScalar -
    • Method Detail

      • getDocLength

        public int getDocLength()
        Returns:
        the docLength
      • getCoeffQuadratic

        public short[][] getCoeffQuadratic()
        Returns:
        the coeffquadratic
      • getCoeffSingular

        public short[][] getCoeffSingular()
        Returns:
        the coeffsingular
      • getCoeffScalar

        public short[] getCoeffScalar()
        Returns:
        the coeffscalar