Packages

 

com.groupdocs.signature.domain.signatures

Class DigitalSignature

    • Constructor Detail

      • DigitalSignature

        public DigitalSignature()

        Initialize Digital signature with default parameters.

      • DigitalSignature

        public DigitalSignature(KeyStore certificate)

        Create Digital signature with specified certificate.

        Parameters:
        certificate - X509 certificate.
    • Method Detail

      • getCertificate

        public final KeyStore getCertificate()

        Gets or sets the X509 certificate.

      • getComments

        public final String getComments()

        Gets or sets the signing purpose comment.

      • getSignTime

        public final Date getSignTime()

        Gets or sets the time the document was signed.

      • isValid

        public final boolean isValid()

        Keeps true if this digital signature is valid and the document has not been tampered with.

      • setCertificate

        public final void setCertificate(KeyStore value)

        Gets or sets the X509 certificate.

      • setComments

        public final void setComments(String value)

        Gets or sets the signing purpose comment.

      • setSignTime

        public final void setSignTime(Date value)

        Gets or sets the time the document was signed.

      • setValid

        public final void setValid(boolean value)

        Keeps true if this digital signature is valid and the document has not been tampered with.