skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_c_is_keyed_cksum  Test to see if a checksum uses derived keys krb5_c_is_keyed_cksum Test to see if a checksum uses derived...
go to next page: krb5_c_make_checksum  Compute a checksumkrb5_c_make_checksum Compute a checksum
end of book navigation links

krb5_c_keyed_checksum_types -- Get a list of derived key checksums 



C Prototype 

krb5_error_code krb5_c_keyed_checksum_types (
        krb5_context            context,
        krb5_enctype            enctype,
        unsigned int            *count,
        krb5_cksumtype          **cksumtypes );

Arguments 

context
(input/output)
 The context structure.
enctype (input) The encryption type.
count (output) Pointer to a count of checksums matching the encryption type.
cksumtypes (output) A pointer to the list of matching checksums.

Description 

This routine searches the list of derived checksum types supported by Kerberos, and returns the list of checksum types matching the encryption type passed in enctype in the output parameter cksumtypes. The number of checksum types in cksumtypes is returned in count.

Return Values 

This routine returns the following KRB5 status codes:

0
Successful completion.
ENOMEM
Insufficient memory.


go to previous page: krb5_c_is_keyed_cksum  Test to see if a checksum uses derived keys krb5_c_is_keyed_cksum Test to see if a checksum uses derived...
go to next page: krb5_c_make_checksum  Compute a checksumkrb5_c_make_checksum Compute a checksum