IOpcSignatureReferenceSet interface

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.

When to implement

Never. Custom implementations of this interface are not supported.

Members

The IOpcSignatureReferenceSet interface inherits from the IUnknown interface. IOpcSignatureReferenceSet also has these types of members:

Methods

The IOpcSignatureReferenceSet interface has these methods.

MethodDescription
Create

Creates an IOpcSignatureReference interface pointer that represents a reference to an XML element to be signed.

Delete

Deletes a specified IOpcSignatureReference interface pointer from the set.

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Msopc.h

IDL

Msopc.idl

See also

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

 

 

Community Additions

ADD
Show: