IOCSPAdmin::SetSecurity method

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

Syntax


HRESULT SetSecurity(
  [inconst BSTR bstrServerName,
  [inconst BSTR bstrVal
);

Parameters

bstrServerName [in]

A string that contains the responder-server name.

bstrVal [in]

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

Remarks

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

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]

Header

Certadm.h (include Certsrv.h)

IDL

Certadm.idl

Library

Certadm.lib

DLL

Certadm.dll

IID

IID_IOCSPAdmin is defined as 322E830D-67DB-4FE9-9577-4596D9F09294

See also

IOCSPAdmin

 

 

Show: