Package org.bouncycastle.pqc.crypto.xmss
Class XMSSParameters
java.lang.Object
org.bouncycastle.pqc.crypto.xmss.XMSSParameters
XMSS Parameters.
-
Constructor Summary
ConstructorDescriptionXMSSParameters
(int height, ASN1ObjectIdentifier treeDigestOID) XMSS Constructor...XMSSParameters
(int height, Digest treeDigest) XMSS Constructor... -
Method Summary
Modifier and TypeMethodDescriptionint
Getter height.Return the tree digest OID.int
Getter digest size.static XMSSParameters
lookupByOID
(int oid)
-
Constructor Details
-
XMSSParameters
XMSS Constructor...- Parameters:
height
- Height of tree.treeDigest
- Digest to use.
-
XMSSParameters
XMSS Constructor...- Parameters:
height
- Height of tree.treeDigestOID
- OID of digest to use.
-
-
Method Details
-
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.
-
getHeight
public int getHeight()Getter height.- Returns:
- XMSS tree height.
-
lookupByOID
-