IOpcSignatureReferenceSet interface (msopc.h)
An unordered set of IOpcSignatureReference interface pointers that represent references to XML elements to be signed. An XML element to be signed can be either an application-specific Object element or a child element.
Inheritance
The IOpcSignatureReferenceSet interface inherits from the IUnknown interface. IOpcSignatureReferenceSet also has these types of members:
Methods
The IOpcSignatureReferenceSet interface has these methods.
IOpcSignatureReferenceSet::Create Creates an IOpcSignatureReference interface pointer that represents a reference to an XML element to be signed. |
IOpcSignatureReferenceSet::Delete Deletes a specified IOpcSignatureReference interface pointer from the set. |
IOpcSignatureReferenceSet::GetEnumerator Gets an enumerator of IOpcSignatureReference interface pointers in the set. |
Remarks
The Create method creates a reference to an application-specific Object element or a child of an application-specific Object that is signed when the signature is generated. Create does not create the reference to the package-specific Object element to be signed; that reference is created automatically when the signature is generated.
When an IOpcSignatureReference interface pointer is created and added to the set, the reference it represents is saved when the package is saved.
When an IOpcSignatureReference interface pointer is deleted from the set, the reference it represents is not saved when the package is saved.
To access an IOpcSignatureReferenceSet interface pointer, call the IOpcSigningOptions::GetCustomReferenceSet 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
Overviews
Packaging API Programming Guide
Packaging Digital Signature Interfaces
Reference