public interface XMSSPrivateKey extends XMSSKey, java.security.PrivateKey
Modifier and Type | Method and Description |
---|---|
XMSSPrivateKey |
extractKeyShard(int usageCount)
Return a key representing a shard of the key space that can be used usageCount times.
|
long |
getIndex()
Return the index of the next signature.
|
long |
getUsagesRemaining()
Return the number of usages left for the private key.
|
getHeight, getTreeDigest
long getIndex()
long getUsagesRemaining()
XMSSPrivateKey extractKeyShard(int usageCount)
Note: this will use the range [index...index + usageCount) for the current key.
usageCount
- the number of usages the key should have.