Packages

 

com.aspose.cad.imageoptions

Class PdfDigitalSignatureDetailsCore



  • public class PdfDigitalSignatureDetailsCore
    extends Object

    Contains details for a PDF digital signature.

    • Constructor Detail

      • PdfDigitalSignatureDetailsCore

        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.

        Parameters:
        certificate - The certificate.
        reason - The reason.
        location - The location.
        signatureDate - The signature date.
        hashAlgorithm - The hash algorithm.
    • Method Detail

      • getCertificate

        public final com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 getCertificate()

        Certificate to sign with.

        Returns:
        The certificate.
      • setCertificate

        public final void setCertificate(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 value)

        Certificate to sign with.

        Parameters:
        value - The certificate.
      • getReason

        public final String getReason()

        The reason of signing.

        Returns:
        The reason.
      • setReason

        public final void setReason(String value)

        The reason of signing.

        Parameters:
        value - The reason.
      • getLocation

        public final String getLocation()

        Location of signing.

        Returns:
        The location.
      • setLocation

        public final void setLocation(String value)

        Location of signing.

        Parameters:
        value - The location.
      • getSignatureDate

        public final Date getSignatureDate()

        Date of signing.

        Returns:
        The signature date.
      • setSignatureDate

        public final void setSignatureDate(Date value)

        Date of signing.

        Parameters:
        value - The signature date.
      • getHashAlgorithm

        public final int getHashAlgorithm()

        Hash algorithm.

        Returns:
        The hash algorithm.
      • setHashAlgorithm

        public final void setHashAlgorithm(int value)

        Hash algorithm.

        Parameters:
        value - The hash algorithm.