public class DigitalSignature
extends java.lang.Object
To learn more, visit the Work with Digital Signatures documentation article.
| Modifier and Type | Method and Description |
|---|---|
CertificateHolder |
getCertificateHolder()
Returns the certificate holder object that contains the certificate was used to sign the document.
|
java.lang.String |
getComments()
Gets the signing purpose comment.
|
java.lang.String |
getIssuerName()
Returns the subject distinguished name of the certificate isuuer.
|
int |
getSignatureType()
Gets the type of the digital signature.
|
java.util.Date |
getSignTime()
Gets the time the document was signed.
|
java.lang.String |
getSubjectName()
Returns the subject distinguished name of the certificate that was used to sign the document.
|
boolean |
isValid()
Returns true if this digital signature is valid and the document has not been tampered with.
|
java.lang.String |
toString()
Returns a user-friendly string that displays the value of this object.
|
public int getSignatureType()
DigitalSignatureType constants.public java.util.Date getSignTime()
public java.lang.String getComments()
public java.lang.String getSubjectName()
public java.lang.String getIssuerName()
public boolean isValid()
public CertificateHolder getCertificateHolder()
public java.lang.String toString()
toString in class java.lang.Object