Show / Hide Table of Contents

Class ExcelDigitalSignature

Digital Signature class to sign a workbook

Inheritance
System.Object
XmlHelper
ExcelDigitalSignature
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.DigitalSignatures
Assembly: EPPlus.dll
Syntax
public class ExcelDigitalSignature : XmlHelper

Fields

CommitmentTyping

Commitment Type.

Declaration
public CommitmentType CommitmentTyping
Field Value
Type Description
CommitmentType

Details

Details about the signer of a DigitalSignature, such as role, title, address etc.

Declaration
public AdditionalSignatureInfo Details
Field Value
Type Description
AdditionalSignatureInfo

Properties

Certificate

The Certificate used to sign this digital signature

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

IsValid

Whether the Signature was valid when the file was read/saved Is dirty and outdated until after package is saved if any changes have been made to package files.

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean

PurposeForSigning

Reason for signing the document-

Declaration
public string PurposeForSigning { get; set; }
Property Value
Type Description
System.String

Methods

SetDigestMethod(DigitalSignatureHashAlgorithm)

Set the digest method/Hash Algorithm for the package Note: All Digital Signatures in the package will use the latest algorithm.

Declaration
public void SetDigestMethod(DigitalSignatureHashAlgorithm algorithm)
Parameters
Type Name Description
DigitalSignatureHashAlgorithm algorithm
Exceptions
Type Condition
System.InvalidOperationException
In This Article
Back to top Generated by DocFX