KRB5_STRING_TO_KEY - Online Linux Manual PageSection : 3
Updated : July 10, 2006
Operating system : HEIMDAL
NAME krb5_string_to_key, krb5_string_to_key_data, krb5_string_to_key_data_salt, krb5_string_to_key_data_salt_opaque, krb5_string_to_key_salt, krb5_string_to_key_salt_opaque, krb5_get_pw_salt, krb5_free_salt — turns a string to a Kerberos key
LIBRARYKerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS #include <krb5.h>
krb5_error_code krb5_string_to_key ( krb5_context context , krb5_enctype enctype , const char *password , krb5_principal principal , krb5_keyblock *key );
krb5_error_code krb5_string_to_key_data ( krb5_context context , krb5_enctype enctype , krb5_data password , krb5_principal principal , krb5_keyblock *key );
krb5_error_code krb5_string_to_key_data_salt ( krb5_context context , krb5_enctype enctype , krb5_data password , krb5_salt salt , krb5_keyblock *key );
krb5_error_code krb5_string_to_key_data_salt_opaque ( krb5_context context , krb5_enctype enctype , krb5_data password , krb5_salt salt , krb5_data opaque , krb5_keyblock *key );
krb5_error_code krb5_string_to_key_salt ( krb5_context context , krb5_enctype enctype , const char *password , krb5_salt salt , krb5_keyblock *key );
krb5_error_code krb5_string_to_key_salt_opaque ( krb5_context context , krb5_enctype enctype , const char *password , krb5_salt salt , krb5_data opaque , krb5_keyblock *key );
krb5_error_code krb5_get_pw_salt ( krb5_context context , krb5_const_principal principal , krb5_salt *salt );
krb5_error_code krb5_free_salt ( krb5_context context , krb5_salt salt );
DESCRIPTIONThe string to key functions convert a string to a kerberos key. krb5_string_to_key_data_salt_opaque() is the function that does all the work, the rest of the functions are just wrappers around krb5_string_to_key_data_salt_opaque() that calls it with default values. krb5_string_to_key_data_salt_opaque() transforms the password with the given salt-string salt and the opaque, encryption type specific parameter opaque to a encryption key key according to the string to key function associated with enctype. The key should be freed with krb5_free_keyblock_contents(). If one of the functions that doesn't take a krb5_salt as it argument krb5_get_pw_salt() is used to get the salt value. krb5_get_pw_salt() get the default password salt for a principal, use krb5_free_salt() to free the salt when done. krb5_free_salt() frees the content of salt.
SEE ALSOkrb5(3), krb5_data 3, krb5_keyblock 3, kerberos(8) 0
Johanes Gumabo
Data Size : 10,770 byte
man-krb5_string_to_key_salt_opaque.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 257,268
Visitor ID : :
Visitor IP : 3.144.40.90 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.