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_auth_con_getauthenticator  Retrieve authenticator used during mutual authentication krb5_auth_con_getauthenticator Retrieve authenticator used during...
go to next page: krb5_auth_con_getkey  Retrieve keyblock from auth_contextkrb5_auth_con_getkey Retrieve keyblock from auth_context
end of book navigation links

krb5_auth_con_getflags -- Retrieve the flags in auth_context 



C Prototype 

krb5_error_code krb5_auth_con_getflags(
         krb5_context           context,
         krb5_auth_context      auth_context,
         krb5_int32             *flags );     

Arguments 

context
(input/output)
 The context structure.
auth_context (input)  A per connection context.
flags (input) A bit mask representing the flags to set in the auth_context. Valid flags are:

KRB5_AUTH_CONTEXT_DO_TIME -- Use timestamps.

KRB5_AUTH_CONTEXT_RET_TIME -- Save timestamps to output structure.

KRB5_AUTH_CONTEXT_DO_SEQUENCE -- Use sequence numbers.

KRB5_AUTH_RET_SEQUENCE -- Copy sequence numbers to output structure.

Description 

This routine retrieves the flags from auth_context.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.


go to previous page: krb5_auth_con_getauthenticator  Retrieve authenticator used during mutual authentication krb5_auth_con_getauthenticator Retrieve authenticator used during...
go to next page: krb5_auth_con_getkey  Retrieve keyblock from auth_contextkrb5_auth_con_getkey Retrieve keyblock from auth_context