krb5_copy_keyblock_contents()--Copy Contents of a Kerberos Keyblock
Syntax
#include <krb5.h> krb5_error_code krb5_copy_keyblock_contents( krb5_context context, krb5_const krb5_keyblock * from_keyblock, krb5_keyblock * to_keyblock);Service Program Name: QSYS/QKRBGSS
Default Public Authority: *USE
Threadsafe: Yes
The krb5_copy_keyblock_contents() function copies the contents of a Kerberos keyblock into an existing keyblock. The contents of the output keyblock are not released before performing the copy.
Authorities
No authorities are required.
Parameters
- context (Input)
- The Kerberos context.
- from_keyblock (Input)
- The keyblock to be copied.
- to_keyblock (Output)
- The contents of the input keyblock. The krb5_free_keyblock_contents() routine should be called to release the contents of the keyblock 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 ]