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

public final Class XMSSSignature

extends XMSSReducedSignature
implements XMSSStoreableObjectInterface, Encodable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Encodable, org.bouncycastle.pqc.crypto.xmss.XMSSStoreableObjectInterface
Imports
java.io.IOException, org.bouncycastle.util.Encodable, .Pack

Deprecated

as a consequence of XMSSReducedSignature and XMSSStoreableObjectInterface being deprecated. See corresponding docs for further information.

XMSS Signature.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final int
private final byte[]

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 int
public byte[]
public byte[]
toByteArray()

Overrides org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature.toByteArray.

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

Deprecated use getEncoded() this method will become private.
Create byte representation of object.
Inherited from org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature:
getAuthPathgetParamsgetWOTSPlusSignature

Field Detail

indexback to summary
private final int index
randomback to summary
private final byte[] random

Constructor Detail

XMSSSignatureback to summary
private XMSSSignature(XMSSSignature.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 int getIndex()
getRandomback to summary
public byte[] getRandom()
toByteArrayback to summary
public byte[] toByteArray()

Overrides org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature.toByteArray.

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

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

Deprecated

use getEncoded() this method will become private.

Create byte representation of object.

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

public Class XMSSSignature.Builder

extends Builder
Class Inheritance

Field Summary

Modifier and TypeField and Description
private int
private final XMSSParameters
private byte[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XMSSSignature
build()

Overrides org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature.Builder.build.

Deprecated as a consequence of XMSSSignature being deprecated.
public XMSSSignature.Builder
withIndex(int val)

public XMSSSignature.Builder
withRandom(byte[] val)

public XMSSSignature.Builder
withSignature(byte[] val)

Inherited from org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature.Builder:
withAuthPathwithReducedSignaturewithWOTSPlusSignature

Field Detail

indexback to summary
private int index
paramsback to summary
private final XMSSParameters params

Hides org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature.Builder.params.

randomback to summary
private byte[] random

Constructor Detail

Builderback to summary
public Builder(XMSSParameters params)

Method Detail

buildback to summary
public XMSSSignature build()

Overrides org.bouncycastle.pqc.crypto.xmss.XMSSReducedSignature.Builder.build.

Deprecated

as a consequence of XMSSSignature being deprecated. See corresponding docs for further information.

withIndexback to summary
public XMSSSignature.Builder withIndex(int val)
withRandomback to summary
public XMSSSignature.Builder withRandom(byte[] val)
withSignatureback to summary
public XMSSSignature.Builder withSignature(byte[] val)