java.lang.Objectcom.aspose.words.PdfDigitalSignatureDetails
public class PdfDigitalSignatureDetails
At the moment digitally signing PDF documents is only available on .NET 2.0 or higher. To digitally sign a PDF document when it is created by Aspose.Words, set the Aspose.Words creates a PKCS#7 signature over the whole PDF document and uses the "Adobe.PPKMS" filter and
"adbe.pkcs7.sha1" subfilter when creating a digital signature.
Constructor Summary |
---|
PdfDigitalSignatureDetails()
Initializes an instance of this class. |
Property Getters/Setters Summary | ||
---|---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 | getCertificate() | |
Gets or sets the certificate to sign with. | ||
int | getHashAlgorithm() | |
void | setHashAlgorithm(int value) | |
Gets or sets the hash algorithm. The value of the property is PdfDigitalSignatureHashAlgorithm integer constant. | ||
java.lang.String | getLocation() | |
void | setLocation(java.lang.String value) | |
Gets or sets the location of the signing. | ||
java.lang.String | getReason() | |
void | setReason(java.lang.String value) | |
Gets or sets the reason for the signing. | ||
java.util.Date | getSignatureDate() | |
void | setSignatureDate(java.util.Date value) | |
Gets or sets the date of the signing. |
Constructor Detail |
---|
public PdfDigitalSignatureDetails()
Property Getters/Setters Detail |
---|
getCertificate | |
public System.Security.Cryptography.X509Certificates.X509Certificate2 getCertificate() |
getHashAlgorithm/setHashAlgorithm | |
public int getHashAlgorithm() / public void setHashAlgorithm(int value) |
getLocation/setLocation | |
public java.lang.String getLocation() / public void setLocation(java.lang.String value) |
getReason/setReason | |
public java.lang.String getReason() / public void setReason(java.lang.String value) |
getSignatureDate/setSignatureDate | |
public java.util.Date getSignatureDate() / public void setSignatureDate(java.util.Date value) |
The default value is the current time.
This value will appear in the digital signature as an unverified computer time.