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

public Class XMSSMTPrivateKey

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DEROctetString, .DERSequence, .DERTaggedObject, org.bouncycastle.util.Arrays

XMMSMTPrivateKey
    XMMSMTPrivateKey ::= SEQUENCE {
        version INTEGER -- 0, or 1 if maxIndex is present
        keyData SEQUENCE {
           index         INTEGER
           secretKeySeed OCTET STRING
           secretKeyPRF  OCTET STRING
           publicSeed    OCTET STRING
           root          OCTET STRING
           maxIndex      [0] INTEGER OPTIONAL
        }
        bdsState CHOICE {
           platformSerialization [0] OCTET STRING
        } OPTIONAL
   }

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
XMSSMTPrivateKey(long index, byte[] secretKeySeed, byte[] secretKeyPRF, byte[] publicSeed, byte[] root, byte[] bdsState)

public
XMSSMTPrivateKey(long index, byte[] secretKeySeed, byte[] secretKeyPRF, byte[] publicSeed, byte[] root, byte[] bdsState, long maxIndex)

private

Method Summary

Modifier and TypeMethod and Description
public byte[]
public long
public static XMSSMTPrivateKey
public long
public byte[]
public byte[]
public byte[]
public byte[]
public int
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

bdsStateback to summary
private final byte[] bdsState
indexback to summary
private final long index
maxIndexback to summary
private final long maxIndex
publicSeedback to summary
private final byte[] publicSeed
rootback to summary
private final byte[] root
secretKeyPRFback to summary
private final byte[] secretKeyPRF
secretKeySeedback to summary
private final byte[] secretKeySeed
versionback to summary
private final int version

Constructor Detail

XMSSMTPrivateKeyback to summary
public XMSSMTPrivateKey(long index, byte[] secretKeySeed, byte[] secretKeyPRF, byte[] publicSeed, byte[] root, byte[] bdsState)
XMSSMTPrivateKeyback to summary
public XMSSMTPrivateKey(long index, byte[] secretKeySeed, byte[] secretKeyPRF, byte[] publicSeed, byte[] root, byte[] bdsState, long maxIndex)
XMSSMTPrivateKeyback to summary
private XMSSMTPrivateKey(ASN1Sequence seq)

Method Detail

getBdsStateback to summary
public byte[] getBdsState()
getIndexback to summary
public long getIndex()
getInstanceback to summary
public static XMSSMTPrivateKey getInstance(Object o)
getMaxIndexback to summary
public long getMaxIndex()
getPublicSeedback to summary
public byte[] getPublicSeed()
getRootback to summary
public byte[] getRoot()
getSecretKeyPRFback to summary
public byte[] getSecretKeyPRF()
getSecretKeySeedback to summary
public byte[] getSecretKeySeed()
getVersionback to summary
public int getVersion()
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.