IOpcSignatureRelationshipReferenceSet::CreateRelationshipSelectorSet method

Creates an IOpcRelationshipSelectorSet interface pointer that is used as the selectorSet parameter value of the Create method.

Syntax


HRESULT CreateRelationshipSelectorSet(
  [out] IOpcRelationshipSelectorSet **selectorSet
);

Parameters

selectorSet [out]

A new IOpcRelationshipSelectorSet interface pointer.

Return value

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

Return codeDescription
S_OK

The method succeeded.

E_POINTER

The selectorSet parameter is NULL.

 

Remarks

To select a subset of the relationships (which are stored in the Relationships part to be referenced) to be signed when the signature is generated, call the Create method with the relationshipSigningOption parameter value set to OPC_RELATIONSHIP_SIGN_USING_SELECTORS and the selectorSet parameter value set to the IOpcRelationshipSelectorSet interface pointer created by this method.

Thread Safety

Packaging objects are not thread-safe.

For more information, see the Getting Started with the Packaging API.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Msopc.h

IDL

OpcDigitalSignature.idl

See also

IOpcSignatureRelationshipReferenceSet
Packaging Digital Signature Interfaces
Overviews
Digital Signatures Overview
Getting Started with the Packaging API
Packaging API Programming Guide
Reference
Core Packaging Interfaces
Packaging Interfaces
Packaging API Reference
Packaging API Samples

 

 

Community Additions

ADD
Show: