IOpcDigitalSignature::GetCertificateEnumerator method (msopc.h)

Gets an enumerator of certificates that are used in the signature.

Syntax

HRESULT GetCertificateEnumerator(
  [out, retval] IOpcCertificateEnumerator **certificateEnumerator
);

Parameters

[out, retval] certificateEnumerator

A pointer to an enumerator of pointers to CERT_CONTEXT structures that are used in the signature.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
The certificateEnumerator parameter is NULL.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header msopc.h

See also

Core Packaging Interfaces

Digital Certificates

Digital Signatures Overview

Getting Started with the Packaging API

IOpcCertificateEnumerator

IOpcCertificateSet

IOpcDigitalSignature

Overviews

Packaging API Programming Guide

Packaging API Reference

Packaging API Samples

Packaging Digital Signature Interfaces

Packaging Interfaces

Reference