OPC_CERTIFICATE_EMBEDDING_OPTION enumeration

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

Syntax


typedef enum  { 
  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

The certificate is stored in a part specific to the certificate.

OPC_CERTIFICATE_IN_SIGNATURE_PART

The certificate is encoded within the signature markup in the Signature part.

OPC_CERTIFICATE_NOT_EMBEDDED

The certificate is not stored in the package.

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

Requirements

Header

Msopc.h

IDL

OpcDigitalSignature.idl

See also

Packaging Enumerations
Overviews
Certificates
Digital Signatures Overview
Getting Started with the Packaging API
Packaging API Programming Guide
Reference
IOpcSigningOptions::GetCertificateEmbeddingOption
IOpcSigningOptions::SetCertificateEmbeddingOption
Packaging Interfaces
Packaging API Samples
External Resources
ECMA-376 OpenXML standard
W3C Recommendation, Canonical XML Version 1.0

 

 

Community Additions

ADD
Show: