krb5_ccache krb5_cc_cursor krb5_cc_ops krb5_fcc_ops krb5_mcc_ops krb5_cc_close krb5_cc_copy_cache krb5_cc_default krb5_cc_default_name krb5_cc_destroy krb5_cc_end_seq_get krb5_cc_gen_new krb5_cc_get_name krb5_cc_get_principal krb5_cc_get_type krb5_cc_get_ops krb5_cc_get_version krb5_cc_initialize krb5_cc_register krb5_cc_resolve krb5_cc_retrieve_cred krb5_cc_remove_cred krb5_cc_set_default_name krb5_cc_store_cred krb5_cc_set_flags krb5_cc_next_cred - mange credential cache.
Kerberos 5 Library (libkrb5, -lkrb5)
struct krb5_ccache;
struct krb5_cc_cursor;
struct krb5_cc_ops;
struct krb5_cc_ops *krb5_fcc_ops;
struct krb5_cc_ops *krb5_mcc_ops;
krb5_error_code Fo krb5_cc_close Fa krb5_context *context Fa krb5_ccache id Fc Ft krb5_error_code Fo krb5_cc_copy_cache Fa krb5_context *context Fa const krb5_ccache from Fa krb5_ccache to Fc Ft krb5_error_code Fo krb5_cc_default Fa krb5_context *context Fa krb5_ccache *id Fc Ft const char * Fo krb5_cc_default_name Fa krb5_context *context Fc Ft krb5_error_code Fo krb5_cc_destroy Fa krb5_context *context Fa krb5_ccache id Fc Ft krb5_error_code Fo krb5_cc_end_seq_get Fa krb5_context *context Fa const krb5_ccache id Fa krb5_cc_cursor *cursor Fc Ft krb5_error_code Fo krb5_cc_gen_new Fa krb5_context *context Fa const krb5_cc_ops *ops Fa krb5_ccache *id Fc Ft const char * Fo krb5_cc_get_name Fa krb5_context *context Fa krb5_ccache id Fc Ft krb5_error_code Fo krb5_cc_get_principal Fa krb5_context *context Fa krb5_ccache id Fa krb5_principal *principal Fc Ft const char * Fo krb5_cc_get_type Fa krb5_context *context Fa krb5_ccache id Fc Ft const krb5_cc_ops * Fo krb5_cc_get_ops Fa krb5_context *context Fa krb5_ccache id Fc Ft krb5_error_code Fo krb5_cc_get_version Fa krb5_context *context Fa const krb5_ccache id Fc Ft krb5_error_code Fo krb5_cc_initialize Fa krb5_context *context Fa krb5_ccache id Fa krb5_principal primary_principal Fc Ft krb5_error_code Fo krb5_cc_register Fa krb5_context *context Fa const krb5_cc_ops *ops Fa krb5_boolean override Fc Ft krb5_error_code Fo krb5_cc_resolve Fa krb5_context *context Fa const char *name Fa krb5_ccache *id Fc Ft krb5_error_code Fo krb5_cc_retrieve_cred Fa krb5_context *context Fa krb5_ccache id Fa krb5_flags whichfields Fa const krb5_creds *mcreds Fa krb5_creds *creds Fc Ft krb5_error_code Fo krb5_cc_remove_cred Fa krb5_context *context Fa krb5_ccache id Fa krb5_flags which Fa krb5_creds *cred Fc Ft krb5_error_code Fo krb5_cc_set_default_name Fa krb5_context *context Fa const char *name Fc Ft krb5_error_code Fo krb5_cc_store_cred Fa krb5_context *context Fa krb5_ccache id Fa krb5_creds *creds Fc Ft krb5_error_code Fo krb5_cc_set_flags Fa krb5_context *context Fa krb5_cc_set_flags id Fa krb5_flags flags Fc Ft krb5_error_code Fo krb5_cc_next_cred Fa krb5_context *context Fa const krb5_ccache id Fa krb5_cc_cursor *cursor Fa krb5_creds *creds Fc
The krb5_cc_cursor structure holds current position in a credential cache when iterating over the cache.
The krb5_cc_ops structure holds a set of operations that can me preformed on a credential cache.
There is no component inside krb5_ccache krb5_cc_cursor nor krb5_fcc_ops that is directly referable.
The krb5_creds holds a Kerberos credential, see manpage for krb5_creds3.
krb5_cc_default_name ();
and
krb5_cc_set_default_name ();
gets and sets the default name for the
Fa context .
krb5_cc_default ();
opens the default ccache in
Fa id .
Return 0 or an error code.
krb5_cc_gen_new ();
generates a new ccache of type
Fa ops
in
Fa id .
Return 0 or an error code.
krb5_cc_resolve ();
finds and allocates a ccache in
Fa id
from the specification in
Fa residual .
If the ccache name doesn't contain any colon (:), interpret it as a
file name.
Return 0 or an error code.
krb5_cc_initialize ();
creates a new ccache in
Fa id
for
Fa primary_principal .
Return 0 or an error code.
krb5_cc_close ();
stops using the ccache
Fa id
and frees the related resources.
Return 0 or an error code.
krb5_cc_destroy ();
removes the ccache
and closes (by calling
krb5_cc_close ());
Fa id .
Return 0 or an error code.
krb5_cc_copy_cache ();
copys the contents of
Fa from
to
Fa to .
krb5_cc_get_name ();
returns the name of the ccache
Fa id .
krb5_cc_get_principal ();
returns the principal of
Fa id
in
Fa principal .
Return 0 or an error code.
krb5_cc_get_type ();
returns the type of the ccache
Fa id .
krb5_cc_get_ops ();
returns the ops of the ccache
Fa id .
krb5_cc_get_version ();
returns the version of
Fa id .
krb5_cc_register ();
Adds a new ccache type with operations
Fa ops ,
overwriting any existing one if
Fa override .
Return an error code or 0.
krb5_cc_remove_cred ();
removes the credential identified by
Fa ( cred ,
Fa which )
from
Fa id .
krb5_cc_store_cred ();
stores
Fa creds
in the ccache
Fa id .
Return 0 or an error code.
krb5_cc_set_flags ();
sets the flags of
Fa id
to
Fa flags .
krb5_cc_retrieve_cred (,);
retrieves the credential identified by
Fa mcreds
(and
Fa whichfields )
from
Fa id
in
Fa creds .
Return 0 or an error code.
krb5_cc_next_cred ();
retrieves the next cred pointed to by
Fa ( id ,
Fa cursor )
in
Fa creds ,
and advance
Fa cursor .
Return 0 or an error code.
krb5_cc_end_seq_get ();
Destroys the cursor
Fa cursor .
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |