IXpsSigningOptions::GetCustomReferences method

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

Syntax

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

Parameters

  • customReferenceSet [out, retval]
    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

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

IOpcSignatureReferenceSet

IOpcSigningOptions

XML Paper Specification