public interface XMSSMTPrivateKey extends XMSSMTKey, java.security.PrivateKey
Modifier and Type | Method and Description |
---|---|
XMSSMTPrivateKey |
extractKeyShard(int usageCount)
Return a key representing a shard of the key space that can be used usageCount times.
|
long |
getUsagesRemaining()
Return the number of usages left for the private key.
|
getHeight, getLayers, getTreeDigest
long getUsagesRemaining()
XMSSMTPrivateKey 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.