Class XMSSMTParameters


  • public final class XMSSMTParameters
    extends java.lang.Object
    XMSS^MT Parameters.
    • Constructor Detail

      • XMSSMTParameters

        public XMSSMTParameters​(int height,
                                int layers,
                                Digest digest)
        XMSSMT constructor...
        Parameters:
        height - Height of tree.
        layers - Amount of layers.
        digest - Digest to use.
      • XMSSMTParameters

        public XMSSMTParameters​(int height,
                                int layers,
                                ASN1ObjectIdentifier digestOID)
        XMSSMT constructor...
        Parameters:
        height - Height of tree.
        layers - Amount of layers.
        digestOID - Object identifier of digest to use.
    • Method Detail

      • getHeight

        public int getHeight()
        Getter height.
        Returns:
        XMSSMT height.
      • getLayers

        public int getLayers()
        Getter layers.
        Returns:
        XMSSMT layers.
      • getWOTSPlus

        protected org.bouncycastle.pqc.crypto.xmss.WOTSPlus getWOTSPlus()
      • getTreeDigest

        protected java.lang.String getTreeDigest()
      • getTreeDigestSize

        public int getTreeDigestSize()
        Getter digest size.
        Returns:
        Digest size.
      • getTreeDigestOID

        public ASN1ObjectIdentifier getTreeDigestOID()
        Return the tree digest OID.
        Returns:
        OID for digest used to build the tree.
      • getLen

        protected int getLen()
      • getOid

        protected XMSSOid getOid()