Interface LMSPrivateKey
- All Superinterfaces:
AsymmetricKey, DEREncodablePREVIEW, Destroyable, Key, LMSKey, LMSKey, LMSPrivateKey, PrivateKey, Serializable
- All Known Implementing Classes:
BCLMSPrivateKey, BCLMSPrivateKey
Deprecated.
Base interface for an LMS private key
-
Field Summary
Fields inherited from interface Key
serialVersionUIDFields 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 LMSPrivateKey
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 interfaceLMSPrivateKey- Parameters:
usageCount- the number of usages the key should have.- Returns:
- a key based on the current key that can be used usageCount times.
-
LMSPrivateKeyinstead.