Package org.bouncycastle.pqc.crypto.xmss
Class XMSSMTParameters
java.lang.Object
org.bouncycastle.pqc.crypto.xmss.XMSSMTParameters
XMSS^MT Parameters.
-
Constructor Summary
ConstructorDescriptionXMSSMTParameters
(int height, int layers, ASN1ObjectIdentifier digestOID) XMSSMT constructor...XMSSMTParameters
(int height, int layers, Digest digest) XMSSMT constructor... -
Method Summary
Modifier and TypeMethodDescriptionint
Getter height.int
Getter layers.protected int
getLen()
protected XMSSOid
getOid()
protected String
Return the tree digest OID.int
Getter digest size.protected org.bouncycastle.pqc.crypto.xmss.WOTSPlus
protected XMSSParameters
static XMSSMTParameters
lookupByOID
(int oid)
-
Constructor Details
-
XMSSMTParameters
XMSSMT constructor...- Parameters:
height
- Height of tree.layers
- Amount of layers.digest
- Digest to use.
-
XMSSMTParameters
XMSSMT constructor...- Parameters:
height
- Height of tree.layers
- Amount of layers.digestOID
- Object identifier of digest to use.
-
-
Method Details
-
getHeight
public int getHeight()Getter height.- Returns:
- XMSSMT height.
-
getLayers
public int getLayers()Getter layers.- Returns:
- XMSSMT layers.
-
getXMSSParameters
-
getWOTSPlus
protected org.bouncycastle.pqc.crypto.xmss.WOTSPlus getWOTSPlus() -
getTreeDigest
-
getTreeDigestSize
public int getTreeDigestSize()Getter digest size.- Returns:
- Digest size.
-
getTreeDigestOID
Return the tree digest OID.- Returns:
- OID for digest used to build the tree.
-
getLen
protected int getLen() -
getOid
-
lookupByOID
-