Package org.bouncycastle.pqc.crypto.xmss
Class XMSSMTSignature
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.xmss.XMSSMTSignature
-
- All Implemented Interfaces:
XMSSStoreableObjectInterface,Encodable
public final class XMSSMTSignature extends java.lang.Object implements XMSSStoreableObjectInterface, Encodable
XMSS^MT Signature.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXMSSMTSignature.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getEncoded()Return a byte array representing the implementing object.longgetIndex()byte[]getRandom()java.util.List<XMSSReducedSignature>getReducedSignatures()byte[]toByteArray()Create byte representation of object.
-
-
-
Method Detail
-
getEncoded
public byte[] getEncoded() throws java.io.IOExceptionDescription copied from interface:EncodableReturn a byte array representing the implementing object.- Specified by:
getEncodedin interfaceEncodable- Returns:
- a byte array representing the encoding.
- Throws:
java.io.IOException- if an issue arises generation the encoding.
-
toByteArray
public byte[] toByteArray()
Description copied from interface:XMSSStoreableObjectInterfaceCreate byte representation of object.- Specified by:
toByteArrayin interfaceXMSSStoreableObjectInterface- Returns:
- Byte representation of object.
-
getIndex
public long getIndex()
-
getRandom
public byte[] getRandom()
-
getReducedSignatures
public java.util.List<XMSSReducedSignature> getReducedSignatures()
-
-