|
cc_ccache_release(): Release memory associated with a cc_ccache_t object.
|
|
cc_ccache_destroy(): Destroy a ccache.
|
|
cc_ccache_set_default(): Make a ccache the default ccache.
|
|
cc_ccache_get_credentials_version(): Get the credentials version of a ccache.
|
|
cc_ccache_get_name(): Get the name of a ccache.
|
|
cc_ccache_get_principal(): Get the principal of a ccache.
|
|
cc_ccache_set_principal(): Set the principal of a ccache.
|
|
cc_ccache_store_credentials(): Store credentials in a ccache.
See the description of the credentials types for the meaning of cc_credentials_union fields. Before credentials of a specific credential type can be stored in a ccache, the corresponding principal version has to be set. For example, before you can store Kerberos v4 credentials in a ccache, the Kerberos v4 principal has to be set either by cc_context_create_ccache(), cc_context_create_default_ccache(), cc_context_create_new_ccache(), or cc_ccache_set_principal(); likewise for Kerberos v5. Otherwise, ccErrBadCredentialsVersion is returned. |
|
cc_ccache_remove_credentials(): Remove credentials from a ccache.
If found, the credentials are removed from the ccache. The credentials parameter is not modified and should be freed by the caller. It is legitimate to call this function while an iterator is traversing the ccache, and the deletion of a credential already returned by cc_credentials_iterator_next() will not disturb sequence of credentials returned by cc_credentials_iterator_next(). |
|
cc_ccache_new_credentials_iterator(): Iterate over credentials in a ccache.
If changes are made to the ccache while an iterator is being used on it, the iterator must return at least the intersection, and at most the union, of the set of credentials that were in the ccache when the iteration began and the set of credentials that are in the ccache when it ends. |
|
cc_ccache_move(): Move the contents of one ccache into another, destroying the source.
Typically cc_ccache_move() is used when the caller wishes to safely overwrite the contents of a ccache with new data which requires several steps to generate. cc_ccache_move() allows the caller to create a temporary ccache (which can be destroyed if any intermediate step fails) and the atomically copy the temporary cache into the destination. |
|
cc_ccache_lock(): Lock a ccache.
To avoid having to deal with differences between thread semantics on different platforms, locks are granted per ccache, rather than per thread or per process. That means that different threads of execution have to acquire separate contexts in order to be able to synchronize with each other. The lock should be unlocked by using cc_ccache_unlock().
|
|
cc_ccache_unlock(): Unlock a ccache.
|
|
cc_ccache_get_change_time(): Get the last time a ccache was the default ccache.
|
|
cc_ccache_get_change_time(): Get the last time a ccache changed.
The time returned by cc_ccache_get_change_time() increases whenever:
|
|
cc_ccache_compare(): Compare two ccache objects.
|
|
cc_ccache_get_kdc_time_offset(): Get the KDC time offset for credentials in a ccache.
|
|
cc_ccache_set_kdc_time_offset(): Set the KDC time offset for credentials in a ccache.
|
|
cc_ccache_clear_kdc_time_offset(): Clear the KDC time offset for credentials in a ccache.
|
|
cc_ccache_wait_for_change(): Wait for the next change to a ccache.
cc_ccache_wait_for_change() will return whenever:
|