共用方式為


Packaging Interfaces

A listing of Packaging API interfaces.

Contents

Core Packaging Interfaces
IOpcFactory
Creates Packaging API objects and provides support for saving and loading packages.
IOpcPackage
Represents a package and provides methods to access the package's parts and relationships.
IOpcPart
Represents a part that contains data and is not a Relationships part.
IOpcPartEnumerator
A read-only enumerator of IOpcPart interface pointers.
IOpcPartSet
An unordered set of IOpcPart interface pointers to part objects that represent the parts in a package that are not Relationships parts.
IOpcPartUri
Represents the part name of a part.
IOpcRelationship
Represents a relationship, which is a link between a source, which is a part or the package, and a target.
IOpcRelationshipEnumerator
A read-only enumerator of IOpcRelationship interface pointers.
IOpcRelationshipSet
Represents a Relationships part as an unordered set of IOpcRelationship interface pointers to relationship objects.
IOpcUri
Represents the URI of the package root or of a part that is relative to the package root.
Packaging Digital Signature Interfaces
IOpcCertificateEnumerator
A read-only enumerator of pointers to CERT_CONTEXT structures.
IOpcCertificateSet
An unordered set of certificates to be used with a signature.
IOpcDigitalSignature
Represents a package digital signature.
IOpcDigitalSignatureEnumerator
A read-only enumerator of IOpcDigitalSignature interface pointers.
IOpcDigitalSignatureManager
Provides access to Packaging Digital Signature Interfaces for a package that is represented by Packaging API objects.
IOpcRelationshipSelector
Represents how to select, from a Relationships part, the relationships to be referenced for signing.
IOpcRelationshipSelectorEnumerator
A read-only enumerator of IOpcRelationshipSelector interface pointers.
IOpcRelationshipSelectorSet
An unordered set of IOpcRelationshipSelector interface pointers that represent the selection criteria that is used to identify relationships for signing.
IOpcSignatureCustomObject
Represents an application-specific Object element that has been or will be signed.
IOpcSignatureCustomObjectEnumerator
A read-only enumerator of IOpcSignatureCustomObject interface pointers.
IOpcSignatureCustomObjectSet
An unordered set of IOpcSignatureCustomObject interface pointers that contain the XML markup of application-specific Object elements.
IOpcSignaturePartReference
Represents a reference to a part that has been or will be signed.
IOpcSignaturePartReferenceEnumerator A read-only enumerator of IOpcSignaturePartReference interface pointers.
IOpcSignaturePartReferenceSet
An unordered set of IOpcSignaturePartReference interface pointers that represent references to parts to be signed.
IOpcSignatureReference
Represents a reference to XML markup that has been or will be signed.
IOpcSignatureReferenceEnumerator A read-only enumerator of IOpcSignatureReference interface pointers.
IOpcSignatureReferenceSet
An unordered set of IOpcSignatureReference interface pointers that represent references to XML elements to be signed.
IOpcSignatureRelationshipReference
Represents a reference to a Relationships part that contains relationships that have been or will be signed.
IOpcSignatureRelationshipReferenceEnumerator A read-only enumerator of IOpcSignatureRelationshipReference interface pointers.
IOpcSignatureRelationshipReferenceSet
An unordered set of IOpcSignatureRelationshipReference interface pointers that represent references to Relationships parts that contain relationships to be signed.
IOpcSigningOptions
Provides methods to set and access information required to generate a signature.

Packaging API Reference

Overviews

Getting Started with the Packaging API

Packaging API Programming Guide

Reference

Core Packaging Interfaces

Packaging Digital Signature Interfaces

Packaging Enumerations

Packaging Errors

Packaging API Samples