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_cc_initialize  Create/refresh a credentials cache krb5_cc_initialize Create/refresh a credentials cache
go to next page: krb5_cc_remove_cred  Remove credentials from the credentials cachekrb5_cc_remove_cred Remove credentials from the credentials...
end of book navigation links

krb5_cc_next_cred -- Fetch the next credentials entry 



C Prototype 

krb5_error_code krb5_cc_next_cred(
         krb5_context     context,
         krb5_ccache      id,
         krb5_creds       *creds,
         krb5_cc_cursor   *cursor );

Arguments 

context
(input/output)
 The context structure.
id (input/output)  A credentials cache identifier.
creds (output) The returned credentials cache entry.
cursor (input/output) The cursor created by krb5_cc_start_seq_get. This value is updated upon return to be used in subsequent calls to krb5_cc_next_cred. The returned credentials cache entry.

Description 

This routine fetches the next entry from id, returning its values in *creds, and updates *cursor for the next request. It requires that id identifies a valid credentials cache and *cursor is a cursor returned by krb5_cc_start_seq_get or a subsequent call to krb5_cc_next_cred. The krb5_end_seq_get routine is called when no more entries are to be read.

Return Values 

This routine returns the following KRB5 status code:

Error code if there are no more cache entries.



go to previous page: krb5_cc_initialize  Create/refresh a credentials cache krb5_cc_initialize Create/refresh a credentials cache
go to next page: krb5_cc_remove_cred  Remove credentials from the credentials cachekrb5_cc_remove_cred Remove credentials from the credentials...