Export (0) Print
Expand All

ICertSrvSetup::GetExistingCACertificates method

The GetExistingCACertificates method gets the collection of CertSrvSetupKeyInformation objects that represent valid certification authority (CA) certificates currently installed on the computer. This method does not change the state of the CCertSrvSetup object.

Syntax


HRESULT GetExistingCACertificates(
  [out]  ICertSrvSetupKeyInformationCollection **ppVal
);

Parameters

ppVal [out]

The address of a pointer to an ICertSrvSetupKeyInformationCollection interface that can be used to access information for the set of valid CA certificates installed in the "LocalMachine" store.

Remarks

The CertSrvSetupKeyInformationCollection object contains valid certificates. A certificate is considered valid if it satisfies the following criteria:

  • Contains an AT_SIGNATURE key that matches the key in the private key container.
  • Is self-signed or has basic constraints for a CA.
  • Passes chain validation but might have an offline revocation error.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Casetup.h

IDL

Casetup.idl

DLL

Certocm.dll

IID

IID_ICertSrvSetup is defined as b760a1bb-4784-44c0-8f12-555f0780ff25

See also

ICertSrvSetup

 

 

Community Additions

ADD
Show:
© 2014 Microsoft