krb5_rc_initialize()--Initialize Replay Cache


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_rc_initialize(  
     krb5_context     context,  
     krb5_rcache      rcache,
     krb5_deltat      span); 
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_rc_initialize() function initializes a replay cache. Any existing cache entries are deleted. The authenticator lifespan indicates how long an authenticator remains valid. Once an authenticator has expired, its replay cache entry can be deleted by calling the krb5_rc_expunge() routine.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

rcache  (Input)
The replay cache handle.

span  (Input)
The authenticator lifespan in seconds.

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 ]