OPC_CANONICALIZATION_METHOD enumeration (msopc.h)

Describes the canonicalization method to be applied to XML markup.

Syntax

typedef enum __MIDL___MIDL_itf_msopc_0001_0076_0001 {
  OPC_CANONICALIZATION_NONE = 0,
  OPC_CANONICALIZATION_C14N = 1,
  OPC_CANONICALIZATION_C14N_WITH_COMMENTS = 2
} OPC_CANONICALIZATION_METHOD;

Constants

 
OPC_CANONICALIZATION_NONE
Value: 0
No canonicalization method is applied.
OPC_CANONICALIZATION_C14N
Value: 1
The C14N canonicalization method that removes comments is applied.
OPC_CANONICALIZATION_C14N_WITH_COMMENTS
Value: 2
The C14N canonicalization method that preserves comments is applied.

Remarks

For more information about XML canonicalization, see the W3C Recommendation, Canonical XML Version 1.0 (http://www.w3.org/TR/xml-c14n).

For more information about canonicalization and packages, see the ECMA-376 OpenXML, 1st Edition, Part 2: Open Packaging Conventions (OPC).

Requirements

Requirement Value
Header msopc.h

See also

ECMA-376 OpenXML standard

External Resources

Getting Started with the Packaging API

IOpcDigitalSignature::GetCanonicalizationMethod

IOpcSignaturePartReference::GetTransformMethod

IOpcSignaturePartReferenceSet::Create

IOpcSignatureReference::GetTransformMethod

IOpcSignatureReferenceSet::Create

IOpcSignatureRelationshipReference::GetTransformMethod

IOpcSignatureRelationshipReferenceSet::Create

Overviews

Packaging API Programming Guide

Packaging API Samples

Packaging Enumerations

Packaging Interfaces

Reference

W3C Recommendation, Canonical XML Version 1.0