Heimdal Kerberos 5 keytab handling functions(3) | HeimdalKerberos5library | Heimdal Kerberos 5 keytab handling functions(3) |
Heimdal Kerberos 5 keytab handling functions -
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
krb5_kt_register (krb5_context context, const krb5_kt_ops *ops)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_resolve
(krb5_context context, const char *name, krb5_keytab *id)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_default_name
(krb5_context context, char *name, size_t namesize)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
krb5_kt_default_modify_name (krb5_context context, char *name, size_t
namesize)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_default
(krb5_context context, krb5_keytab *id)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
krb5_kt_read_service_key (krb5_context context, krb5_pointer
keyprocarg, krb5_principal principal, krb5_kvno vno, krb5_enctype enctype,
krb5_keyblock **key)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_get_type
(krb5_context context, krb5_keytab keytab, char *prefix, size_t prefixsize)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_get_name
(krb5_context context, krb5_keytab keytab, char *name, size_t namesize)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_get_full_name
(krb5_context context, krb5_keytab keytab, char **str)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_close
(krb5_context context, krb5_keytab id)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_destroy
(krb5_context context, krb5_keytab id)
KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_kt_compare
(krb5_context context, krb5_keytab_entry *entry, krb5_const_principal
principal, krb5_kvno vno, krb5_enctype enctype)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_get_entry
(krb5_context context, krb5_keytab id, krb5_const_principal principal,
krb5_kvno kvno, krb5_enctype enctype, krb5_keytab_entry *entry)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
krb5_kt_copy_entry_contents (krb5_context context, const
krb5_keytab_entry *in, krb5_keytab_entry *out)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_free_entry
(krb5_context context, krb5_keytab_entry *entry)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_start_seq_get
(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_next_entry
(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry,
krb5_kt_cursor *cursor)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_end_seq_get
(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_add_entry
(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry)
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_remove_entry
(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry)
KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_kt_have_content
(krb5_context context, krb5_keytab id)
Add the entry in `entry' to the keytab `id'.
Parameters:
Returns:
Finish using the keytab in `id'. All resources will be released, even on errors.
Parameters:
Returns:
Compare `entry' against `principal, vno, enctype'. Any of `principal, vno, enctype' might be 0 which acts as a wildcard. Return TRUE if they compare the same, FALSE otherwise.
Parameters:
Returns:
Copy the contents of `in' into `out'.
Parameters:
Returns:
Set `id' to the default keytab.
Parameters:
Returns:
Copy the name of the default modify keytab into `name'.
Parameters:
Returns:
copy the name of the default keytab into `name'.
Parameters:
Returns:
Destroy (remove) the keytab in `id'. All resources will be released, even on errors, does the equvalment of krb5_kt_close() on the resources.
Parameters:
Returns:
Release all resources associated with `cursor'.
Parameters:
Returns:
Free the contents of `entry'.
Parameters:
Returns:
Retrieve the keytab entry for `principal, kvno, enctype' into `entry' from the keytab `id'. Matching is done like krb5_kt_compare().
Parameters:
Returns:
Retrieve the full name of the keytab `keytab' and store the name in `str'.
Parameters:
Returns:
Retrieve the name of the keytab `keytab' into `name', `namesize'
Parameters:
Returns:
Return the type of the `keytab' in the string `prefix of length `prefixsize'.
Parameters:
Returns:
Return true if the keytab exists and have entries
Parameters:
Returns:
Get the next entry from keytab, advance the cursor. On last entry the function will return KRB5_KT_END.
Parameters:
Returns:
Read the key identified by `(principal, vno, enctype)' from the keytab in `keyprocarg' (the default if == NULL) into `*key'.
Parameters:
Returns:
Register a new keytab backend.
Parameters:
Returns:
Remove an entry from the keytab, matching is done using krb5_kt_compare().
Parameters:
Returns:
Resolve the keytab name (of the form `type:residual') in `name' into a keytab in `id'.
Parameters:
Returns:
Set `cursor' to point at the beginning of `id'.
Parameters:
Returns:
11 Jan 2012 | Version 1.5.2 |