com.aspose.cells
Class DigitalSignature

java.lang.Object
    extended by 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()
voidsetComments(java.lang.String value)
           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()
voidsetSignTime(com.aspose.cells.DateTime value)
           The time when the document was signed.
intgetXAdESType()
voidsetXAdESType(int value)
           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.

setComments

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.

setSignTime

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.

setXAdESType

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

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.