IX509EnrollmentPolicyServer::GetAuthFlags method (certenroll.h)
The GetAuthFlags method retrieves a value that specifies the authentication type used by the client to authenticate itself to the certificate enrollment policy (CEP) server. This value is set by the Initialize method on the ICertPropertyEnrollmentPolicyServer interface.
Syntax
HRESULT GetAuthFlags(
[out, retval] X509EnrollmentAuthFlags *pValue
);
Parameters
[out, retval] pValue
Pointer to an X509EnrollmentAuthFlags enumeration value that specifies the authentication type. This can be one of the following values.
Return value
If the function succeeds, the function returns S_OK.
If the function fails, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following table. For a list of common error codes, see Common HRESULT Values.
Return code | Description |
---|---|
|
The pValue parameter cannot be NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | certenroll.h |