Packages

 

com.groupdocs.signature.domain.signatures.digital

Class DigitalSignature

    • Constructor Detail

      • DigitalSignature

        public DigitalSignature()

        Initialize DigitalSignature 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.

      • getCertificateStoreLocation

        public final int getCertificateStoreLocation()

        Specifies the store location of the certificate

      • getCertificateStoreName

        public final int getCertificateStoreName()

        Specifies the store name of the certificate.

      • getComments

        public final String getComments()

        Gets or sets the signing purpose comment.

      • getSignatureType

        public final int getSignatureType()

        Gets or sets the type of the digital signature.

      • 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.

      • setCertificateStoreLocation

        public final void setCertificateStoreLocation(int value)

        Specifies the store location of the certificate

      • setCertificateStoreName

        public final void setCertificateStoreName(int value)

        Specifies the store name of the certificate.

      • setComments

        public final void setComments(String value)

        Gets or sets the signing purpose comment.

      • setSignatureType

        public final void setSignatureType(int value)

        Gets or sets the type of the digital signature.

      • 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.