public interface XMSSPrivateKey extends XMSSKey, PrivateKey
serialVersionUID
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
getAlgorithm, getEncoded, getFormat
destroy, isDestroyed
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.Copyright © 2021 BouncyCastle.org. All rights reserved.