Modifier and Type | Method and Description |
---|---|
LMSPrivateKey |
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.
|
LMSPublicKey |
getPublicKey()
Return the public key associated with this private key.
|
long |
getUsagesRemaining()
Return the number of usages left for the private key.
|
long getIndex()
long getUsagesRemaining()
LMSPrivateKey extractKeyShard(int usageCount) throws java.io.IOException
Note: this will use the range [index...index + usageCount) for the current key.
usageCount
- the number of usages the key should have.java.io.IOException
LMSPublicKey getPublicKey()