IOpcSignaturePartReferenceSet interface (msopc.h)
An unordered set of IOpcSignaturePartReference interface pointers that represent references to parts to be signed.
Inheritance
The IOpcSignaturePartReferenceSet interface inherits from the IUnknown interface. IOpcSignaturePartReferenceSet also has these types of members:
Methods
The IOpcSignaturePartReferenceSet interface has these methods.
IOpcSignaturePartReferenceSet::Create Creates an IOpcSignaturePartReference interface pointer that represents a reference to a part to be signed, and adds the new interface to the set. |
IOpcSignaturePartReferenceSet::Delete Deletes a specified IOpcSignaturePartReference interface pointer from the set. |
IOpcSignaturePartReferenceSet::GetEnumerator Gets an enumerator of IOpcSignaturePartReference interface pointers in the set. |
Remarks
Only parts that can be represented by the IOpcPart interface can be referenced by an IOpcSignaturePartReference interface pointer. Relationships parts are referenced for signing by a pointer to the IOpcSignatureRelationshipReference interface. To create an IOpcSignatureRelationshipReference interface pointer, call the IOpcSignatureRelationshipReferenceSet::Create method.
When an IOpcSignaturePartReference interface pointer is created and added to the set, the reference it represents is saved when the package is saved.
When an IOpcSignaturePartReference interface pointer is deleted from the set, the reference it represents is not saved when the package is saved.
To create an IOpcSignaturePartReferenceSet interface pointer, call the IOpcSigningOptions::GetSignaturePartReferenceSet method.
Thread Safety
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msopc.h |
See also
Getting Started with the Packaging API
IOpcSignatureRelationshipReferenceSet
Overviews
Packaging API Programming Guide
Packaging Digital Signature Interfaces
Reference