Table of Contents

Class ExcelVbaSignature

Namespace
OfficeOpenXml.VBA
Assembly
EPPlus.dll

The VBA project's code signature properties

public class ExcelVbaSignature
Inheritance
ExcelVbaSignature
Inherited Members

Properties

AgileSignature

Settings for the agile vba signing. The agile signature adds a hash that is calculated for user forms data in the vba project (designer streams).

public ExcelSignatureVersion AgileSignature { get; set; }

Property Value

ExcelSignatureVersion

Certificate

The certificate to sign the VBA project. This certificate must have a private key. There is no validation that the certificate is valid for codesigning, so make sure it's valid to sign Excel files (Excel 2010 is more strict that prior versions).

public X509Certificate2 Certificate { get; set; }

Property Value

X509Certificate2

LegacySignature

Settings for the legacy signing.

public ExcelSignatureVersion LegacySignature { get; set; }

Property Value

ExcelSignatureVersion

V3Signature

Settings for the V3 vba signing. The V3 signature includes more coverage for data in the dir and project stream in the hash, not covered by the legacy and agile signatures.

public ExcelSignatureVersion V3Signature { get; set; }

Property Value

ExcelSignatureVersion

Verifier

The verifier (legacy format)

public SignedCms Verifier { get; }

Property Value

SignedCms