krb5_kt_register()--Register New Key Table Type


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_kt_register(
     krb5_context       context,   
     krb5_kt_ops *      ops); 
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_kt_register() function registers a new key table type. An error is returned if the key table type has already been registered. Once the new type is registered, it can be used by any thread in the current process and activation group. The type is not known outside the current process and activation group, and is no longer registered when the application ends.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

ops  (Input)
The key table operations vector. This vector defines the routines that are called to perform the various key table operations for the new type.

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 ]