markKeyAsUsed
Marks a key retrieved with getKey as used.
Note that this function may perform network I/O to replenish the key pool if the number of available fresh keys drops below the threshold.
Parameters
the current time, to take into consideration for evicting expired keys.
Throws
if no such certified key exists.
if the coroutine is cancelled.
Marks a key retrieved with getKey as used.
Parameters
the CertifiedKey returned from the getKey call.
the current time, to take into consideration for evicting expired keys.
Throws
if no such certified key exists.
if the coroutine is cancelled.
Marks a key retrieved with getKey as used by its alias.
Parameters
the alias of the key to mark as used.
the current time, to take into consideration for evicting expired keys.
Throws
if no such certified key exists.
if the coroutine is cancelled.