public class XMSSPrivateKey extends ASN1Object
XMMSPrivateKey ::= 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 |
|---|
XMSSPrivateKey(int index,
byte[] secretKeySeed,
byte[] secretKeyPRF,
byte[] publicSeed,
byte[] root,
byte[] bdsState) |
XMSSPrivateKey(int index,
byte[] secretKeySeed,
byte[] secretKeyPRF,
byte[] publicSeed,
byte[] root,
byte[] bdsState,
int maxIndex) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBdsState() |
int |
getIndex() |
static XMSSPrivateKey |
getInstance(java.lang.Object o) |
int |
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, hashCodepublic XMSSPrivateKey(int index,
byte[] secretKeySeed,
byte[] secretKeyPRF,
byte[] publicSeed,
byte[] root,
byte[] bdsState)
public XMSSPrivateKey(int index,
byte[] secretKeySeed,
byte[] secretKeyPRF,
byte[] publicSeed,
byte[] root,
byte[] bdsState,
int maxIndex)
public static XMSSPrivateKey getInstance(java.lang.Object o)
public int getVersion()
public int getIndex()
public int getMaxIndex()
public byte[] getSecretKeySeed()
public byte[] getSecretKeyPRF()
public byte[] getPublicSeed()
public byte[] getRoot()
public byte[] getBdsState()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object