IOCSPAdmin::SetSecurity method (certadm.h)

The SetSecurity method updates security descriptor information for an Online Certificate Status Protocol (OCSP) responder server.

Syntax

HRESULT SetSecurity(
  [in] const BSTR bstrServerName,
  [in] const BSTR bstrVal
);

Parameters

[in] bstrServerName

A string that contains the responder-server name.

[in] bstrVal

A string that contains the security descriptor information to assign to the responder server.

Return value

None

Remarks

This method calls the ConvertStringSecurityDescriptorToSecurityDescriptor function to create a security descriptor from a string in Security Descriptor String Format.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
Target Platform Windows
Header certadm.h (include Certsrv.h)
Library Certadm.lib
DLL Certadm.dll

See also

IOCSPAdmin