Windows Dev Center

IOCSPAdmin::GetSigningCertificates method

The GetSigningCertificates method gets the signing certificates that are available on a responder server for a given certification authority (CA) certificate. This method only returns signing certificates from the CERT_SYSTEM_STORE_LOCAL_MACHINE system store for the specified server.

Syntax


Function GetSigningCertificates( _
  ByVal bstrServerName, _
  ByVal pCACertVar, _
  ByRef pVal _
)

Parameters

bstrServerName [in]

A string that contains the responder-server name.

pCACertVar [in]

The CA certificate for which to retrieve signing certificates.

pVal [out]
A pointer to the available signing certificates.

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

The available signing certificates.

Remarks

Each signing certificate has the following properties:

  • Signed by the CA specified by the pCACertVar parameter
  • Includes the Online Certificate Status Protocol (OCSP) signing (XCN_OID_PKIX_KP_OCSP_SIGNING) extension
  • Has not expired
  • Responder server can access the certificate private key

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft