public interface GordianStateAwareKeyPair
Asymmetric StateAware KeyPair.
  • Method Summary

    Modifier and Type
    Method
    Description
    getKeyPairShard(int pNumUsages)
    Obtain a subKeyPair shard with the required number of usages, and update this keyPair's usage count.
    long
    Obtain number of signatures remaining.
  • Method Details

    • getUsagesRemaining

      long getUsagesRemaining()
      Obtain number of signatures remaining.
      Returns:
      the number of signatures remaining
    • getKeyPairShard

      GordianKeyPair getKeyPairShard(int pNumUsages)
      Obtain a subKeyPair shard with the required number of usages, and update this keyPair's usage count.
      Parameters:
      pNumUsages - the number of usage for the shard
      Returns:
      the subKeyPair