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_encrypt_length  Get the length of encrypted data krb5_c_encrypt_length Get the length of encrypted data
go to next page: krb5_c_is_coll_proof_cksum  Test to see if a checksum is collision proofkrb5_c_is_coll_proof_cksum Test to see if a checksum is collision...
end of book navigation links

krb5_c_enctype_compare -- Compare two encryption types 



C Prototype 

krb5_error_code krb5_c_enctype_compare (
        krb5_context            context,
        krb5_enctype            e1,
        krb5_enctype            e2,
        krb5_Boolean            *similar );

Arguments 

context
(input/output)
 The context structure.
e1 (input) First encryption type.
e2 (input) Second encryption type.
similar (output)  TRUE if types are similar; FALSE if types are different.

Description 

This routine compares two encryption types.

Return Values 

This routine returns the following KRB5 status code:

KRB5_BAD_ENCTYPE
Bad encryption type.


go to previous page: krb5_c_encrypt_length  Get the length of encrypted data krb5_c_encrypt_length Get the length of encrypted data
go to next page: krb5_c_is_coll_proof_cksum  Test to see if a checksum is collision proofkrb5_c_is_coll_proof_cksum Test to see if a checksum is collision...