Creates/refreshes the replay cache identified by id and sets its authenticator lifespan to auth_lifespan. If the replay cache already exists, its contents are destroyed.
Attempts to recover the replay cache id, (presumably after a
system crash or server restart).
Destroys the replay cache id. Requires that id identifies a valid replay cache.
Closes the replay cache id, invalidates id, and releases any other resources acquired during use of the replay cache. Requires that id identifies a valid replay cache.
Stores rep in the replay cache id.
Requires that id identifies a valid replay cache.
Returns KRB5KRB_AP_ERR_REPEAT if rep is already in the cache. May also return permission errors, storage failure errors.
Removes all expired replay information (i.e. those entries which are
older than then authenticator lifespan of the cache) from the cache
id. Requires that id identifies a valid replay
cache.
Fills in auth_lifespan with the lifespan of
the cache id.
Requires that id identifies a valid replay cache.
Initializes private data attached to id. This function MUST be called before the other per-replay cache functions.
Requires that id points to allocated space, with an initialized idops field.
Since resolve allocates memory, close must be called to free the allocated memory, even if neither init or recover were successfully called by the application.
Returns the name (excluding the type) of the rcache id. Requires that id identifies a valid replay cache.