Show / Hide Table of Contents

Class ExcelVbaSignature

The VBA project's code signature properties

Inheritance
System.Object
ExcelVbaSignature
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Syntax
public class ExcelVbaSignature

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).

Declaration
public ExcelSignatureVersion AgileSignature { get; set; }
Property Value
Type Description
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).

Declaration
public X509Certificate2 Certificate { get; set; }
Property Value
Type Description
System.Security.Cryptography.X509Certificates.X509Certificate2

LegacySignature

Settings for the legacy signing.

Declaration
public ExcelSignatureVersion LegacySignature { get; set; }
Property Value
Type Description
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.

Declaration
public ExcelSignatureVersion V3Signature { get; set; }
Property Value
Type Description
ExcelSignatureVersion

Verifier

The verifier (legacy format)

Declaration
public SignedCms Verifier { get; }
Property Value
Type Description
System.Security.Cryptography.Pkcs.SignedCms
In This Article
Back to top Generated by DocFX