IOCSPAdmin::GetHashAlgorithms method

The GetHashAlgorithms method gets a list of hash-algorithm names. The Online Certificate Status Protocol (OCSP) responder server uses these names to sign OCSP responses for a given certification authority (CA) configuration.

Syntax


HRESULT GetHashAlgorithms(
  [in]   const BSTR bstrServerName,
  [in]   const BSTR bstrCAId,
  [out]  VARIANT *pVal
);

Parameters

bstrServerName [in]

A string that contains the responder-server name.

bstrCAId [in]

A string that contains an OCSPCAConfiguration Identifier.

pVal [out]

The list of hash algorithms with which a responder server can sign responses.

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

A list of hash algorithms with which a responder server can sign responses.

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:
© 2014 Microsoft