public class PdfDigitalSignatureDetailsCore extends Object
Contains details for a PDF digital signature.
Constructor and Description |
---|
PdfDigitalSignatureDetailsCore(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 certificate,
String reason,
String location,
Date signatureDate,
int hashAlgorithm)
Initializes a new instance of the
PdfDigitalSignatureDetailsCore class. |
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 |
getCertificate()
Certificate to sign with.
|
int |
getHashAlgorithm()
Hash algorithm.
|
String |
getLocation()
Location of signing.
|
String |
getReason()
The reason of signing.
|
Date |
getSignatureDate()
Date of signing.
|
void |
setCertificate(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 value)
Certificate to sign with.
|
void |
setHashAlgorithm(int value)
Hash algorithm.
|
void |
setLocation(String value)
Location of signing.
|
void |
setReason(String value)
The reason of signing.
|
void |
setSignatureDate(Date value)
Date of signing.
|
public PdfDigitalSignatureDetailsCore(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, String reason, String location, Date signatureDate, int hashAlgorithm)
Initializes a new instance of the PdfDigitalSignatureDetailsCore
class.
certificate
- The certificate.reason
- The reason.location
- The location.signatureDate
- The signature date.hashAlgorithm
- The hash algorithm.public final com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 getCertificate()
Certificate to sign with.
public final void setCertificate(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 value)
Certificate to sign with.
value
- The certificate.public final String getReason()
The reason of signing.
public final void setReason(String value)
The reason of signing.
value
- The reason.public final String getLocation()
Location of signing.
public final void setLocation(String value)
Location of signing.
value
- The location.public final Date getSignatureDate()
Date of signing.
public final void setSignatureDate(Date value)
Date of signing.
value
- The signature date.public final int getHashAlgorithm()
Hash algorithm.
public final void setHashAlgorithm(int value)
Hash algorithm.
value
- The hash algorithm.