krb5_copy_checksum()--Copy a Kerberos Checksum


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_copy_checksum(
     krb5_context     context,
     krb5_const krb5_checksum *   from_cksum,  
     krb5_checksum **     to_cksum); 
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_copy_checksum() function copies a Kerberos checksum.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

from_cksum  (Input)
The checksum to be copied.

to_cksum  (Output)
The copied checksum. The krb5_free_checksum() routine should be called to release the checksum when it is no longer needed.

Return Value

If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned.


Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.



API introduced: V5R1

[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]