krb5_crypto_init

Langue: en

Version: 298079 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)


BSD mandoc
HEIMDAL

NAME

krb5_crypto_destroy krb5_crypto_init - encryption support in krb5

LIBRARY

Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS

In krb5.h Ft krb5_error_code Fn krb5_crypto_init krb5_context context krb5_keyblock *key krb5_enctype enctype krb5_crypto *crypto Ft krb5_error_code Fn krb5_crypto_destroy krb5_context context krb5_crypto crypto

DESCRIPTION

Heimdal exports parts of the Kerberos crypto interface for applications.

Each kerberos encrytion/checksum function takes a crypto context.

To setup and destroy crypto contextes there are two functions Fn krb5_crypto_init and Fn krb5_crypto_destroy . The encryption type to use is taken from the key, but can be overridden with the Fa enctype parameter . This can be useful for encryptions types which is compatiable (DES for example).

SEE ALSO

krb5_create_checksum3, krb5_encrypt3