DigitalSignature
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage
public class DigitalSignature extends CustomPackage
Represents a digital signature used to sign a document.
| Method | Description |
|---|---|
| getComments() | Gets the signing purpose comment. |
| isValid() | Gets a value indicating whether the signature is valid. |
| getSignTime() | Gets the time the document was signed. |
| getCertificateSubject() | Gets the subject distinguished name from a certificate. |
| getCertificateRawData() | Gets the certificate raw data. |
public final String getComments()
Gets the signing purpose comment.
Returns: java.lang.String - The signing purpose comment.
public Boolean isValid()
Gets a value indicating whether the signature is valid.
Returns: java.lang.Boolean - True if the the signature is valid; otherwise, false. Null indicates that validation is unavailable for the signature.
public Date getSignTime()
Gets the time the document was signed.
Returns: java.util.Date - The time the document was signed.
public final String getCertificateSubject()
Gets the subject distinguished name from a certificate.
Returns: java.lang.String - The subject distinguished name from a certificate.
public final byte[] getCertificateRawData()
Gets the certificate raw data.
Returns: byte[] - The certificate raw data.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.