Class PdfDigitalSignatureDetails

Class PdfDigitalSignatureDetails

Namespace: Aspose.Tasks.Saving
Assembly: Aspose.Tasks.dll (25.2.0)

Contains details for a PDF digital signature.

public class PdfDigitalSignatureDetails

Inheritance

objectPdfDigitalSignatureDetails

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks

At the moment digitally signing PDF documents is only available on .NET 2.0 or higher.

Constructors

PdfDigitalSignatureDetails(X509Certificate2, string, string, DateTime, PdfDigitalSignatureHashAlgorithm)

Initializes a new instance of the Aspose.Tasks.Saving.PdfDigitalSignatureDetails class.

public PdfDigitalSignatureDetails(X509Certificate2 certificate, string reason, string location, DateTime signatureDate, PdfDigitalSignatureHashAlgorithm hashAlgorithm)

Parameters

certificate X509Certificate2

The System.Security.Cryptography.X509Certificates.X509Certificate2 instance to sign with.

reason string

The reason of signing.

location string

The location of signing.

signatureDate DateTime

The date of signing.

hashAlgorithm PdfDigitalSignatureHashAlgorithm

The hash algorithm of signing.

Properties

Certificate

Gets or sets the certificate to sign with.

public X509Certificate2 Certificate { get; set; }

Property Value

X509Certificate2

HashAlgorithm

Gets or sets the hash algorithm.

public PdfDigitalSignatureHashAlgorithm HashAlgorithm { get; set; }

Property Value

PdfDigitalSignatureHashAlgorithm

Location

Gets or sets the location of signing.

public string Location { get; set; }

Property Value

string

Reason

Gets or sets the reason of signing.

public string Reason { get; set; }

Property Value

string

SignatureDate

Gets or sets the date of signing.

public DateTime SignatureDate { get; set; }

Property Value

DateTime