aspose.cells

Class DigitalSignature

Signature in file.

Property Getters/Setters Summary
functiongetCertificate()
Certificate object that was used to sign the document.
functiongetComments()
function
           The purpose to signature.
functiongetId()
function
setId(value)
           Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid.
functiongetImage()
function
setImage(value)
           Specifies an image for the digital signature. Default value is null.
functionisValid()
If this digital signature is valid and the document has not been tampered with, this value will be true.
functiongetProviderId()
function
           Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid.
functiongetSignTime()
function
           The time when the document was signed.
functiongetText()
function
setText(value)
           Specifies the text of actual signature in the digital signature. Default value ise Empty.
functiongetXAdESType()
function
           XAdES type. Default value is None(XAdES is off). The value of the property is XAdESType integer constant.
 

    • Property Getters/Setters Detail

      • getCertificate : X509Certificate2 

        function getCertificate()
        
        Certificate object that was used to sign the document.
      • getComments/setComments : String 

        function getComments() / function setComments(value)
        
        The purpose to signature.
      • getSignTime/setSignTime : DateTime 

        function getSignTime() / function setSignTime(value)
        
        The time when the document was signed.
      • getId/setId : UUID 

        function getId() / function setId(value)
        
        Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid. When set, it associates SignatureLine with corresponding DigitalSignature.
      • getText/setText : String 

        function getText() / function setText(value)
        
        Specifies the text of actual signature in the digital signature. Default value ise Empty.
      • getImage/setImage : byte[] 

        function getImage() / function setImage(value)
        
        Specifies an image for the digital signature. Default value is null.
      • getProviderId/setProviderId : UUID 

        function getProviderId() / function setProviderId(value)
        
        Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid. The cryptographic service provider (CSP) is an independent software module that actually performs cryptography algorithms for authentication, encoding, and encryption. Microsoft Office reserves the value of {00000000-0000-0000-0000-000000000000} for its default signature provider, and {000CD6A4-0000-0000-C000-000000000046} for its East Asian signature provider. The GUID of the additionally installed provider should be obtained from the documentation shipped with the provider.
      • isValid : boolean 

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

        function getXAdESType() / function setXAdESType(value)
        
        XAdES type. Default value is None(XAdES is off). The value of the property is XAdESType integer constant.