Packages

 

com.groupdocs.signature.options.verify

Class DigitalVerifyOptions



  • public class DigitalVerifyOptions
    extends VerifyOptions

    Keeps options to verify document Digital signature.

    • Constructor Detail

      • DigitalVerifyOptions

        public DigitalVerifyOptions()

        Creates Digital Verification Option with default values.

      • DigitalVerifyOptions

        public DigitalVerifyOptions(InputStream certificateStream)

        Creates Digital Verification Option with given certificate stream.

        Parameters:
        certificateStream - Certificate's stream.
      • DigitalVerifyOptions

        public DigitalVerifyOptions(String certificateGuid)

        Creates Digital Verification Option with given digital certificate guid.

        Parameters:
        certificateGuid - File path to digital certificate.
    • Method Detail

      • getCertificate

        public KeyStore getCertificate()

        Get X509Certificate2 Certificate from Certificate Guid or Stream.

      • getCertificateFilePath

        public final String getCertificateFilePath()

        File Guid of Digital Certificate.

      • getCertificateStream

        public final InputStream getCertificateStream()

        Stream of Digital Certificate.

      • getComments

        public final String getComments()

        Comments of Digital Signature to validate.

      • getContact

        public final String getContact()

        Signature Contact to validate.

      • getIssuerName

        public final String getIssuerName()

        Issuer name of the certificate to validate. Value is case sensitive. If this property is set verification will check if Signature's issuer name contains or equals passed value

      • getLocation

        public final String getLocation()

        Signature Location to validate.

      • getPassword

        public final String getPassword()

        Password of Digital Certificate if required.

      • getReason

        public final String getReason()

        Reason of Digital Signature to validate.

      • getSignDateTimeFrom

        public Date getSignDateTimeFrom()

        Date and time range of Digital Signature to validate. Nullable value will be ignored.

      • getSignDateTimeTo

        public Date getSignDateTimeTo()

        Date and time range of Digital Signature to validate. Nullable value will be ignored.

      • getSubjectName

        public final String getSubjectName()

        Subject distinguished name of the certificate to validate. Value is case sensitive. If this property is set verification will check if Signature subject name contains or equals passed value

      • setCertificateFilePath

        public final void setCertificateFilePath(String value)

        File Guid of Digital Certificate.

      • setCertificateStream

        public final void setCertificateStream(InputStream value)

        Stream of Digital Certificate.

      • setComments

        public final void setComments(String value)

        Comments of Digital Signature to validate.

      • setContact

        public final void setContact(String value)

        Signature Contact to validate.

      • setIssuerName

        public final void setIssuerName(String value)

        Issuer name of the certificate to validate. Value is case sensitive. If this property is set verification will check if Signature's issuer name contains or equals passed value

      • setLocation

        public final void setLocation(String value)

        Signature Location to validate.

      • setPassword

        public final void setPassword(String value)

        Password of Digital Certificate if required.

      • setReason

        public final void setReason(String value)

        Reason of Digital Signature to validate.

      • setSignDateTimeFrom

        public void setSignDateTimeFrom(Date value)

        Date and time range of Digital Signature to validate. Nullable value will be ignored.

      • setSignDateTimeTo

        public void setSignDateTimeTo(Date value)

        Date and time range of Digital Signature to validate. Nullable value will be ignored.

      • setSubjectName

        public final void setSubjectName(String value)

        Subject distinguished name of the certificate to validate. Value is case sensitive. If this property is set verification will check if Signature subject name contains or equals passed value