Class HSSSignature

    • Constructor Detail

      • HSSSignature

        public HSSSignature​(int lMinus1,
                            org.bouncycastle.pqc.crypto.lms.LMSSignedPubKey[] signedPubKey,
                            org.bouncycastle.pqc.crypto.lms.LMSSignature signature)
    • Method Detail

      • getInstance

        public static HSSSignature getInstance​(Object src,
                                               int L)
                                        throws IOException
        Parameters:
        src - byte[], InputStream or HSSSignature
        L - The HSS depth, available from public key.
        Returns:
        An HSSSignature instance.
        Throws:
        IOException
      • getlMinus1

        public int getlMinus1()
      • getSignedPubKey

        public org.bouncycastle.pqc.crypto.lms.LMSSignedPubKey[] getSignedPubKey()
      • getSignature

        public org.bouncycastle.pqc.crypto.lms.LMSSignature getSignature()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getEncoded

        public byte[] getEncoded()
                          throws IOException
        Description copied from interface: Encodable
        Return a byte array representing the implementing object.
        Specified by:
        getEncoded in interface Encodable
        Returns:
        a byte array representing the encoding.
        Throws:
        IOException - if an issue arises generation the encoding.