IXpsSigningOptions::GetCertificateSet method

Gets an IOpcCertificateSet interface, which can be used to add additional certificates to the signature.

Syntax

HRESULT GetCertificateSet(
  [out, retval] IOpcCertificateSet **certificateSet
);

Parameters

Return value

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.

Remarks

Calling this method is optional and provides a way for an application to add a signing certificate to the signature. The extra certificates in this set will be separate from the signing certificate.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Xpsdigitalsignature.h

IDL

XpsDigitalSignature.idl

See also

IXpsSigningOptions

IOpcCertificateSet

IOpcSigningOptions

XML Paper Specification