Top Description Fields Constructors Methods
org.bouncycastle.pqc.asn1

public Class XMSSKeyParams

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence, org.bouncycastle.asn1.x509.AlgorithmIdentifier

XMSSKeyParams
    XMSSKeyParams ::= SEQUENCE {
    version INTEGER -- 0
    height INTEGER
    treeDigest AlgorithmIdentifier
}

Field Summary

Modifier and TypeField and Description
private final int
private final AlgorithmIdentifier
private final ASN1Integer

Constructor Summary

AccessConstructor and Description
public
XMSSKeyParams(int height, AlgorithmIdentifier treeDigest)

private

Method Summary

Modifier and TypeMethod and Description
public int
public static XMSSKeyParams
public AlgorithmIdentifier
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

heightback to summary
private final int height
treeDigestback to summary
private final AlgorithmIdentifier treeDigest
versionback to summary
private final ASN1Integer version

Constructor Detail

XMSSKeyParamsback to summary
public XMSSKeyParams(int height, AlgorithmIdentifier treeDigest)
XMSSKeyParamsback to summary
private XMSSKeyParams(ASN1Sequence sequence)

Method Detail

getHeightback to summary
public int getHeight()
getInstanceback to summary
public static XMSSKeyParams getInstance(Object o)
getTreeDigestback to summary
public AlgorithmIdentifier getTreeDigest()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.