public class XMSSPrivateKey extends ASN1Object
XMMSPrivateKey ::= 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 and Description |
---|
XMSSPrivateKey(int index,
byte[] secretKeySeed,
byte[] secretKeyPRF,
byte[] publicSeed,
byte[] root,
byte[] bdsState) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBdsState() |
int |
getIndex() |
static XMSSPrivateKey |
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.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public XMSSPrivateKey(int index, byte[] secretKeySeed, byte[] secretKeyPRF, byte[] publicSeed, byte[] root, byte[] bdsState)
public static XMSSPrivateKey getInstance(java.lang.Object o)
public int getIndex()
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