Package org.bouncycastle.pqc.crypto.xmss
Class XMSSSignature
java.lang.Object
org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature
org.bouncycastle.pqc.crypto.xmss.XMSSSignature
- All Implemented Interfaces:
XMSSStoreableObjectInterface,Encodable
public final class XMSSSignature
extends XMSSReducedSignature
implements XMSSStoreableObjectInterface, Encodable
XMSS Signature.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Return a byte array representing the implementing object.intgetIndex()byte[]byte[]Deprecated.use getEncoded() this method will become private.Methods inherited from class org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature
getAuthPath, getParams, getWOTSPlusSignature
-
Method Details
-
getEncoded
Description copied from interface:EncodableReturn a byte array representing the implementing object.- Specified by:
getEncodedin interfaceEncodable- Returns:
- a byte array representing the encoding.
- Throws:
IOException- if an issue arises generation the encoding.
-
toByteArray
public byte[] toByteArray()Deprecated.use getEncoded() this method will become private.Description copied from interface:XMSSStoreableObjectInterfaceCreate byte representation of object.- Specified by:
toByteArrayin interfaceXMSSStoreableObjectInterface- Overrides:
toByteArrayin classXMSSReducedSignature- Returns:
-
getIndex
public int getIndex() -
getRandom
public byte[] getRandom()
-