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

public final Class XMSSMTPublicKeyParameters

extends XMSSMTKeyParameters
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

References Deprecated

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

See corresponding docs for further information.

XMSS^MT Public Key.

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 XMSSMTParameters
private final byte[]
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 XMSSMTParameters
public byte[]
public byte[]
public byte[]
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.XMSSMTKeyParameters:
getTreeDigest

Field Detail

oidback to summary
private final int oid
paramsback to summary
private final XMSSMTParameters params
publicSeedback to summary
private final byte[] publicSeed
rootback to summary
private final byte[] root

Constructor Detail

XMSSMTPublicKeyParametersback to summary
private XMSSMTPublicKeyParameters(XMSSMTPublicKeyParameters.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.
getParametersback to summary
public XMSSMTParameters getParameters()
getPublicSeedback to summary
public byte[] getPublicSeed()
getRootback to summary
public byte[] getRoot()
toByteArrayback to summary
public byte[] 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.

Returns:byte[]

Byte representation of object.

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

public Class XMSSMTPublicKeyParameters.Builder

extends Object
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.pqc.crypto.xmss.XMSSMTPublicKeyParameters.Builder

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

public XMSSMTPublicKeyParameters.Builder
withPublicKey(byte[] val)

public XMSSMTPublicKeyParameters.Builder
withPublicSeed(byte[] val)

public XMSSMTPublicKeyParameters.Builder
withRoot(byte[] val)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

paramsback to summary
private final XMSSMTParameters params
publicKeyback to summary
private byte[] publicKey
publicSeedback to summary
private byte[] publicSeed
rootback to summary
private byte[] root

Constructor Detail

Builderback to summary
public Builder(XMSSMTParameters params)

Method Detail

buildback to summary
public XMSSMTPublicKeyParameters build()

References Deprecated

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

See corresponding docs for further information.

withPublicKeyback to summary
public XMSSMTPublicKeyParameters.Builder withPublicKey(byte[] val)
withPublicSeedback to summary
public XMSSMTPublicKeyParameters.Builder withPublicSeed(byte[] val)
withRootback to summary
public XMSSMTPublicKeyParameters.Builder withRoot(byte[] val)