OPC_SIGNATURE_VALIDATION_RESULT enumeration (msopc.h)

Indicates the status of the signature.

Syntax

typedef enum OPC_SIGNATURE_VALIDATION_RESULT {
  OPC_SIGNATURE_VALID = 0,
  OPC_SIGNATURE_INVALID = -1
} ;

Constants

 
OPC_SIGNATURE_VALID
Value: 0
The signature is valid.

Signature validation using the provided certificate succeeded; signed package components have not been altered.

Important  Signature trust decisions must be based on the validity of the signature as well as other format- and application-specific factors, including: validation of the identity of the package originator, signing policy, certificate quality, and possibly the existence of a valid time stamp.

 
OPC_SIGNATURE_INVALID
Value: -1
The signature is not valid.

Signature markup or signed package components might have been altered. Alternatively, the signature might not exist in the current package.

Requirements

Requirement Value
Header msopc.h

See also

ECMA-376 OpenXML standard

External Resources

Getting Started with the Packaging API

Overviews

Packaging API Programming Guide

Packaging API Samples

Packaging Enumerations

Packaging Interfaces

Reference

W3C Recommendation, XML Signature and Syntax Processing