public class XMSSMTPrivateKey extends ASN1Object
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 }
Constructor and Description |
---|
XMSSMTPrivateKey(long index,
byte[] secretKeySeed,
byte[] secretKeyPRF,
byte[] publicSeed,
byte[] root,
byte[] bdsState) |
XMSSMTPrivateKey(long index,
byte[] secretKeySeed,
byte[] secretKeyPRF,
byte[] publicSeed,
byte[] root,
byte[] bdsState,
long maxIndex) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBdsState() |
long |
getIndex() |
static XMSSMTPrivateKey |
getInstance(java.lang.Object o) |
long |
getMaxIndex() |
byte[] |
getPublicSeed() |
byte[] |
getRoot() |
byte[] |
getSecretKeyPRF() |
byte[] |
getSecretKeySeed() |
int |
getVersion() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
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)
public static XMSSMTPrivateKey getInstance(java.lang.Object o)
public int getVersion()
public long getIndex()
public long getMaxIndex()
public byte[] getSecretKeySeed()
public byte[] getSecretKeyPRF()
public byte[] getPublicSeed()
public byte[] getRoot()
public byte[] getBdsState()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object