Top Description Inners Fields Constructors Methods
org.bouncycastle.pqc.crypto.xmss

public final Class XMSSMTSignature

extends Object
implements XMSSStoreableObjectInterface, Encodable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Encodable, org.bouncycastle.pqc.crypto.xmss.XMSSStoreableObjectInterface
Imports
java.io.IOException, java.util.ArrayList, .List, org.bouncycastle.util.Arrays, .Encodable

References Deprecated

XMSSStoreableObjectInterface is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

XMSS^MT Signature.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final long
private final XMSSMTParameters
private final byte[]
private final List<XMSSReducedSignature>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
getEncoded()

Implements org.bouncycastle.util.Encodable.getEncoded.

Return a byte array representing the implementing object.

public long
public byte[]
public List<XMSSReducedSignature>
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private final long index
paramsback to summary
private final XMSSMTParameters params
randomback to summary
private final byte[] random
reducedSignaturesback to summary
private final List<XMSSReducedSignature> reducedSignatures

Constructor Detail

XMSSMTSignatureback to summary
private XMSSMTSignature(XMSSMTSignature.Builder builder)

Method Detail

getEncodedback to summary
public byte[] getEncoded() throws IOException

Implements org.bouncycastle.util.Encodable.getEncoded.

Doc from org.bouncycastle.util.Encodable.getEncoded.

Return a byte array representing the implementing object.

Returns:byte[]

a byte array representing the encoding.

Exceptions
IOException:
if an issue arises generation the encoding.
getIndexback to summary
public long getIndex()
getRandomback to summary
public byte[] getRandom()
getReducedSignaturesback to summary
public List<XMSSReducedSignature> getReducedSignatures()
toByteArrayback to summary
public byte[] toByteArray()

Implements org.bouncycastle.pqc.crypto.xmss.XMSSStoreableObjectInterface.toByteArray.

Doc from org.bouncycastle.pqc.crypto.xmss.XMSSStoreableObjectInterface.toByteArray.

Create byte representation of object.

Returns:byte[]

Byte representation of object.

org.bouncycastle.pqc.crypto.xmss back to summary

public Class XMSSMTSignature.Builder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
private final XMSSMTParameters
private byte[]
private List<XMSSReducedSignature>
private byte[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XMSSMTSignature
build()
References Deprecated XMSSMTSignature is deprecated or references (maybe indirectly) at least one deprecated element.

public XMSSMTSignature.Builder
withIndex(long val)

public XMSSMTSignature.Builder
withRandom(byte[] val)

public XMSSMTSignature.Builder
public XMSSMTSignature.Builder
withSignature(byte[] val)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private long index
paramsback to summary
private final XMSSMTParameters params
randomback to summary
private byte[] random
reducedSignaturesback to summary
private List<XMSSReducedSignature> reducedSignatures
signatureback to summary
private byte[] signature

Constructor Detail

Builderback to summary
public Builder(XMSSMTParameters params)

Method Detail

buildback to summary
public XMSSMTSignature build()

References Deprecated

XMSSMTSignature is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

withIndexback to summary
public XMSSMTSignature.Builder withIndex(long val)
withRandomback to summary
public XMSSMTSignature.Builder withRandom(byte[] val)
withReducedSignaturesback to summary
public XMSSMTSignature.Builder withReducedSignatures(List<XMSSReducedSignature> val)
withSignatureback to summary
public XMSSMTSignature.Builder withSignature(byte[] val)