Export (0) Print
Expand All

OPC_CANONICALIZATION_METHOD enumeration

Describes the canonicalization method to be applied to XML markup.

Syntax


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

Constants

OPC_CANONICALIZATION_NONE

No canonicalization method is applied.

OPC_CANONICALIZATION_C14N

The C14N canonicalization method that removes comments is applied.

OPC_CANONICALIZATION_C14N_WITH_COMMENTS

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://go.microsoft.com/fwlink/p/?linkid=125240).

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

Requirements

Header

Msopc.h

IDL

OpcDigitalSignature.idl

See also

Packaging Enumerations
Overviews
Getting Started with the Packaging API
Packaging API Programming Guide
Reference
IOpcDigitalSignature::GetCanonicalizationMethod
IOpcSignaturePartReferenceSet::Create
IOpcSignaturePartReference::GetTransformMethod
IOpcSignatureReferenceSet::Create
IOpcSignatureReference::GetTransformMethod
IOpcSignatureRelationshipReferenceSet::Create
IOpcSignatureRelationshipReference::GetTransformMethod
Packaging Interfaces
Packaging API Samples
External Resources
ECMA-376 OpenXML standard
W3C Recommendation, Canonical XML Version 1.0

 

 

Community Additions

ADD
Show:
© 2015 Microsoft