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

public final Class XMSSPublicKeyParameters

extends XMSSKeyParameters
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 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 XMSSParameters
params

XMSS parameters object.

private final byte[]
private final byte[]
Inherited from org.bouncycastle.pqc.crypto.xmss.XMSSKeyParameters:
SHA_256SHA_512SHAKE128SHAKE256

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 XMSSParameters
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.XMSSKeyParameters:
getTreeDigest

Field Detail

oidback to summary
private final int oid
paramsback to summary
private final XMSSParameters params

XMSS parameters object.

publicSeedback to summary
private final byte[] publicSeed
rootback to summary
private final byte[] root

Constructor Detail

XMSSPublicKeyParametersback to summary
private XMSSPublicKeyParameters(XMSSPublicKeyParameters.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 XMSSParameters 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 XMSSPublicKeyParameters.Builder

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

public XMSSPublicKeyParameters.Builder
withPublicKey(byte[] val)

public XMSSPublicKeyParameters.Builder
withPublicSeed(byte[] val)

public XMSSPublicKeyParameters.Builder
withRoot(byte[] val)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

paramsback to summary
private final XMSSParameters 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(XMSSParameters params)

Method Detail

buildback to summary
public XMSSPublicKeyParameters build()

References Deprecated

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

See corresponding docs for further information.

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