IOCSPCAConfigurationCollection::CreateCAConfiguration method

The CreateCAConfiguration method creates a new certification authority (CA) configuration and adds it to the configuration set.

Syntax

Function CreateCAConfiguration( _
  ByVal bstrIdentifier, _
  ByVal varCACert, _
  ByRef ppVal _
)

Parameters

bstrIdentifier [in]

A string that contains a name for the new IOCSPCAConfiguration object.

varCACert [in]

An X.509 CA certificate.

ppVal [out]

The address of a pointer to an IOCSPCAConfiguration interface for the newly created object.

Return value

C++

If the method succeeds, it returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

VB

An IOCSPCAConfiguration interface for the newly created object.

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_IOCSPCAConfigurationCollection is defined as 2BEBEA0B-5ECE-4F28-A91C-86B4BB20F0D3

See also

IOCSPCAConfigurationCollection

 

 

Community Additions

ADD
Show:
© 2014 Microsoft