DigitalSignatureSaveOptions Class
Represents a class that stores details for signing a workbook with a digital signature.
public abstract class DigitalSignatureSaveOptions
Public MustInherit Class DigitalSignatureSaveOptions
- Inheritance:
- System.ObjectDigitalSignatureSaveOptions
- Derived
Properties
Certificate
Gets or sets the X.509 certificate.
Value must be of type System.Security.Cryptography.X509Certificates.X509Certificate2.
Property Value
- System.Object
The X.509 certificate.
See Also
CertificateBytes
Gets or sets the byte array that contains data from an X.509 certificate.
Property Value
- System.Byte[]
The byte array that contains data from an X.509 certificate.
CertificatePassword
Gets or sets the password required to access the X.509 certificate data.
public string CertificatePassword { get; set; }
Public Property CertificatePassword As String
Property Value
- System.String
The password required to access the X.509 certificate data.
CertificatePath
Gets or sets the file path to the X.509 certificate.
Property Value
- System.String
The file path to the X.509 certificate.
Reason
Gets or sets the reason for the signing.
Property Value
- System.String
The reason for the signing, such as ( I agree … ).
Signature
Gets or sets the signature.
Property Value
The signature.
Remarks
If value is null, then digital signature won't have any visual representation.
Signature is not drawn in the same layer as the rest of the page, but in a layer above the page. Signature's position is specified through Position.
UseMachineKeySet
Gets or sets a value indicating whether private keys are stored in the local computer store rather than the current user store.
Property Value
- System.Boolean
true if private keys are stored in the local computer store rather than the current user store; otherwise, false.