Creates a credentials cache named by residual (which may be interpreted differently by each type of ccache). The cache is not opened, but the cache name is held in reserve.
Creates a new credentials cache whose name is guaranteed to be unique. The cache is not opened. *id is filled in with a krb5_ccache which may be used in subsequent calls to ccache functions.
Creates/refreshes a credentials cache identified by id with primary principal set to primary_principal. If the credentials cache already exists, its contents are destroyed.
Modifies: cache identified by id.
Destroys the credentials cache identified by id, invalidates id, and releases any other resources acquired during use of the credentials cache. Requires that id identifies a valid credentials cache. After return, id must not be used unless it is first reinitialized.
Closes the credentials cache id, invalidates id, and releases id and any other resources acquired during use of the credentials cache. Requires that id identifies a valid credentials cache. After return, id must not be used unless it is first reinitialized.
Stores creds in the cache id, tagged with credsclient. Requires that id identifies a valid credentials cache.
Searches the cache id for credentials matching mcreds. The fields which are to be matched are specified by set bits in whichfields, and always include the principal name mcredsserver. Requires that id identifies a valid credentials cache.
If at least one match is found, one of the matching credentials is returned in *creds. The credentials should be freed using krb5_free_credentials.
Retrieves the primary principal of the credentials cache (as set by the init request) The primary principal is filled into *principal; the caller should release this memory by calling krb5_free_principal on *principal when finished.
Requires that id identifies a valid credentials cache.
Prepares to sequentially read every set of cached credentials. Requires that id identifies a valid credentials cache opened by krb5_cc_open. cursor is filled in with a cursor to be used in calls to get_next.
Fetches the next entry from id, returning its values in *creds, and updates *cursor for the next request. Requires that id identifies a valid credentials cache and *cursor be a cursor returned by get_first or a subsequent call to get_next.
Finishes sequential processing mode and invalidates *cursor. *cursor must never be re-used after this call.
Requires that id identifies a valid credentials cache and *cursor be a cursor returned by get_first or a subsequent call to get_next.
Removes any credentials from id which match the principal name credserver and the fields in cred masked by which. Requires that id identifies a valid credentials cache.
Sets the flags on the cache id to flags. Useful flags are defined in <krb5/ccache.h>.