NSSLContextGetFlags

Syntax

#include <cafe.h>
#include <cafe/nssl/nsslclient.h>

NSSL_RVAL NSSLContextGetFlags(NSSLContextHandle context,                        
                              unsigned long *pFlags);

Parameters

context The context for which to get the flags.
pFlags Pointer to an unsigned long where bitmask of the flags will be stored. For list of flags that can be returned and their meanings, see NSSLContextSetFlags.

Return Values

NSSL_RVAL_OK on success, error code of type NSSL_RVAL on failure.

Description

Gets the current flags for the context that control behavior during verification of server certificate. For a list of flags and their meanings, see NSSLContextSetFlags. If a flag is set, it means the corresponding feature the flag controls is enabled and if it is not set, the corresponding feature is disabled.

Do Not Call From

Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

NSSLContextSetFlags
NSSLContextClearFlags
NSSLAddCRLExternal

Revision History

2014/06/02 Initial version.


CONFIDENTIAL