IXpsSigningOptions::GetCustomReferences method (xpsdigitalsignature.h)

Gets a pointer to an IOpcSignatureReferenceSet interface, which contains a set of signature custom references.

Syntax

HRESULT GetCustomReferences(
  [out, retval] IOpcSignatureReferenceSet **customReferenceSet
);

Parameters

[out, retval] customReferenceSet

A pointer to an IOpcSignatureReferenceSet interface, which contains a set of signature custom references.

Return value

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

Remarks

The custom reference set that this method returns is empty. To add a custom reference to this set, call the Create method of the interface that is returned in customReferenceSet.

If a custom object must be signed, a reference to that object must be added to the custom object set. For information on adding custom references, refer to GetCustomReferences.

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 xpsdigitalsignature.h

See also

IOpcSignatureReferenceSet

IOpcSigningOptions

IXpsSigningOptions

XML Paper Specification