| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.pspdfkit.signatures.DigitalSignatureValidationResult.CertificateStatus | |
Status of the certificate that was used for signing the document. The default status of a valid CA-issued certificate is OK.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DigitalSignatureValidationResult.CertificateStatus | EXPIRED | Either the certificate, the OCSP, or the CRL has expired. | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | FAILED_RETRIEVE_SIGNATURE_CONTENTS | Could not fetch signature contents. | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | GENERAL_VALIDATION_PROBLEM | General validation problems (bad signatures, certificate chain is too long, etc.). | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | INVALID | The certificate is not valid against a CA. | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | NOT_YET_VALID | Either the certificate, the OCSP, or the CRL are not yet valid. | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | OK | The certificate status is correct, valid. | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | OK_BUT_NOT_CHECKED_AGAINST_CA | The certificate date is correct, but couldn't check against a certificate authority. | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | OK_BUT_SELF_SIGNED | The certificate status is valid, but self-signed. | |||||||||
| DigitalSignatureValidationResult.CertificateStatus | REVOKED | The certificate has been revoked. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static DigitalSignatureValidationResult.CertificateStatus | valueOf(String name) | ||||||||||
| final static CertificateStatus[] | values() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Either the certificate, the OCSP, or the CRL has expired.
Could not fetch signature contents.
General validation problems (bad signatures, certificate chain is too long, etc.).
The certificate is not valid against a CA.
Either the certificate, the OCSP, or the CRL are not yet valid.
The certificate status is correct, valid.
The certificate date is correct, but couldn't check against a certificate authority.
The certificate status is valid, but self-signed.
The certificate has been revoked.