OPC_CERTIFICATE_EMBEDDING_OPTION enumeration (msopc.h)

Describes the storage location of a certificate that is used in signing.

Syntax

typedef enum __MIDL___MIDL_itf_msopc_0001_0076_0004 {
  OPC_CERTIFICATE_IN_CERTIFICATE_PART = 0,
  OPC_CERTIFICATE_IN_SIGNATURE_PART = 1,
  OPC_CERTIFICATE_NOT_EMBEDDED = 2
} OPC_CERTIFICATE_EMBEDDING_OPTION;

Constants

 
OPC_CERTIFICATE_IN_CERTIFICATE_PART
Value: 0
The certificate is stored in a part specific to the certificate.
OPC_CERTIFICATE_IN_SIGNATURE_PART
Value: 1
The certificate is encoded within the signature markup in the Signature part.
OPC_CERTIFICATE_NOT_EMBEDDED
Value: 2
The certificate is not stored in the package.

Important  The certificate is contextual and understood between the signer and the verifier.

 

Requirements

Requirement Value
Header msopc.h

See also

Certificates

Digital Signatures Overview

ECMA-376 OpenXML standard

External Resources

Getting Started with the Packaging API

IOpcSigningOptions::GetCertificateEmbeddingOption

IOpcSigningOptions::SetCertificateEmbeddingOption

Overviews

Packaging API Programming Guide

Packaging API Samples

Packaging Enumerations

Packaging Interfaces

Reference

W3C Recommendation, Canonical XML Version 1.0