Interface GordianStateAwareKeyPair
public interface GordianStateAwareKeyPair
Asymmetric StateAware KeyPair.
-
Method Summary
Modifier and TypeMethodDescriptiongetKeyPairShard(int pNumUsages) Obtain a subKeyPair shard with the required number of usages, and update this keyPair's usage count.longObtain number of signatures remaining.
-
Method Details
-
getUsagesRemaining
long getUsagesRemaining()Obtain number of signatures remaining.- Returns:
- the number of signatures remaining
-
getKeyPairShard
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
-