Interface XMSSMTPrivateKey
- All Superinterfaces:
AsymmetricKey, DEREncodablePREVIEW, Destroyable, Key, PrivateKey, Serializable, XMSSMTKey, XMSSMTKey, XMSSMTPrivateKey
- All Known Implementing Classes:
BCXMSSMTPrivateKey, BCXMSSMTPrivateKey
Deprecated.
Base interface for an XMSSMT private key
-
Field Summary
Fields inherited from interface PrivateKey
serialVersionUID -
Method Summary
Modifier and TypeMethodDescriptionextractKeyShard(int usageCount) Deprecated.Return a key representing a shard of the key space that can be used usageCount times.Methods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyedMethods inherited from interface Key
getAlgorithm, getEncoded, getFormatMethods inherited from interface XMSSMTKey
getHeight, getLayers, getTreeDigestMethods inherited from interface XMSSMTPrivateKey
getIndex, getUsagesRemaining
-
Method Details
-
extractKeyShard
Deprecated.Return a key representing a shard of the key space that can be used usageCount times.Note: this will use the range [index...index + usageCount) for the current key.
- Specified by:
extractKeyShardin interfaceXMSSMTPrivateKey- Parameters:
usageCount- the number of usages the key should have.- Returns:
- a key based on the current key that can be used usageCount times.
-