com.aspose.cells

Class DigitalSignature

  • java.lang.Object
    • com.aspose.cells.DigitalSignature
public class DigitalSignature 
extends java.lang.Object

Signature in file.

Property Getters/Setters Summary
System.Security.Cryptography.X509Certificates.X509Certificate2getCertificate()
Certificate object that was used to sign the document.
java.lang.StringgetComments()
void
setComments(java.lang.Stringvalue)
           The purpose to signature.
booleanisValid()
If this digital signature is valid and the document has not been tampered with, this value will be true.
com.aspose.cells.DateTimegetSignTime()
void
setSignTime(com.aspose.cells.DateTimevalue)
           The time when the document was signed.
intgetXAdESType()
void
setXAdESType(intvalue)
           XAdES type. Defaule value is None(XAdES is off). The value of the property is XAdESType integer constant.
 

    • Property Getters/Setters Detail

      • getCertificate

        public System.Security.Cryptography.X509Certificates.X509Certificate2 getCertificate()
        
        Certificate object that was used to sign the document.
      • getComments/setComments

        public java.lang.String getComments() / public void setComments(java.lang.String value)
        
        The purpose to signature.
      • getSignTime/setSignTime

        public com.aspose.cells.DateTime getSignTime() / public void setSignTime(com.aspose.cells.DateTime value)
        
        The time when the document was signed.
      • isValid

        public boolean isValid()
        
        If this digital signature is valid and the document has not been tampered with, this value will be true.
      • getXAdESType/setXAdESType

        public int getXAdESType() / public void setXAdESType(int value)
        
        XAdES type. Defaule value is None(XAdES is off). The value of the property is XAdESType integer constant.

    setComments

    public voidsetComments(java.lang.Stringvalue)
    
    The purpose to signature.

    setSignTime

    public voidsetSignTime(com.aspose.cells.DateTimevalue)
    
    The time when the document was signed.

    setXAdESType

    public voidsetXAdESType(intvalue)
    
    XAdES type. Defaule value is None(XAdES is off). The value of the property is XAdESType integer constant.