Interface XMSSPrivateKey

  • All Superinterfaces:
    javax.security.auth.Destroyable, java.security.Key, java.security.PrivateKey, java.io.Serializable, XMSSKey
    All Known Implementing Classes:
    BCXMSSPrivateKey

    public interface XMSSPrivateKey
    extends XMSSKey, java.security.PrivateKey
    Base interface for an XMSS private key
    • Field Summary

      • Fields inherited from interface java.security.PrivateKey

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getUsagesRemaining()
      Return the number of usages left for the private key.
      • Methods inherited from interface javax.security.auth.Destroyable

        destroy, isDestroyed
      • Methods inherited from interface java.security.Key

        getAlgorithm, getEncoded, getFormat
    • Method Detail

      • getUsagesRemaining

        long getUsagesRemaining()
        Return the number of usages left for the private key.
        Returns:
        the number of times the key can be used before it is exhausted.