This topic has not yet been rated - Rate this topic

IOCSPAdmin::SetSecurity method

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

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 [desktop apps only]

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

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.