Package org.bouncycastle.pqc.asn1
Class XMSSMTPrivateKey
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.pqc.asn1.XMSSMTPrivateKey
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class XMSSMTPrivateKey extends ASN1Object
XMMSMTPrivateKeyXMMSMTPrivateKey ::= SEQUENCE { version INTEGER -- 0 keyData SEQUENCE { index INTEGER secretKeySeed OCTET STRING secretKeyPRF OCTET STRING publicSeed OCTET STRING root OCTET STRING } bdsState CHOICE { platformSerialization [0] OCTET STRING } OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description XMSSMTPrivateKey(int index, byte[] secretKeySeed, byte[] secretKeyPRF, byte[] publicSeed, byte[] root, byte[] bdsState)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBdsState()
int
getIndex()
static XMSSMTPrivateKey
getInstance(java.lang.Object o)
byte[]
getPublicSeed()
byte[]
getRoot()
byte[]
getSecretKeyPRF()
byte[]
getSecretKeySeed()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
-
-
-
-
Method Detail
-
getInstance
public static XMSSMTPrivateKey getInstance(java.lang.Object o)
-
getIndex
public int getIndex()
-
getSecretKeySeed
public byte[] getSecretKeySeed()
-
getSecretKeyPRF
public byte[] getSecretKeyPRF()
-
getPublicSeed
public byte[] getPublicSeed()
-
getRoot
public byte[] getRoot()
-
getBdsState
public byte[] getBdsState()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
-