com.aspose.words
Class DigitalSignature

java.lang.Object
    extended by com.aspose.words.DigitalSignature

public class DigitalSignature 
extends java.lang.Object

Represents a digital signature on a document and the result of its verification.

Property Getters/Setters Summary
System.Security.Cryptography.X509Certificates.X509Certificate2getCertificate()
           Returns the certificate object that was used to sign the document.
CertificateHoldergetCertificateHolder()
           Returns the certificate holder object that contains the certificate was used to sign the document.
java.lang.StringgetComments()
           Gets the signing purpose comment.
booleanisValid()
           Returns true if this digital signature is valid and the document has not been tampered with.
intgetSignatureType()
           Gets the type of the digital signature. The value of the property is DigitalSignatureType integer constant.
java.util.DategetSignTime()
           Gets the time the document was signed.
 
Method Summary
java.lang.StringtoString()
          
 

Property Getters/Setters Detail

getCertificate

public System.Security.Cryptography.X509Certificates.X509Certificate2 getCertificate()
Returns the certificate object that was used to sign the document.

getCertificateHolder

public CertificateHolder getCertificateHolder()
Returns the certificate holder object that contains the certificate was used to sign the document.

getComments

public java.lang.String getComments()
Gets the signing purpose comment.

isValid

public boolean isValid()
Returns true if this digital signature is valid and the document has not been tampered with.

getSignatureType

public int getSignatureType()
Gets the type of the digital signature. The value of the property is DigitalSignatureType integer constant.

getSignTime

public java.util.Date getSignTime()
Gets the time the document was signed.

Method Detail

toString

public java.lang.String toString()

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