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 | EXPIRED_BUT_VALID_IN_THE_PAST | Either the certificate, the OCSP, or the CRL has expired as of today but we have confidence that this certificate was valid in the past, when the signature was created. | |||||||||
DigitalSignatureValidationResult.CertificateStatus | EXPIRED_NO_POE | Either the certificate, the OCSP, or the CRL has expired but we don't have proof of existence (POE) of the digital signature. | |||||||||
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 | NOT_YET_VALID_NO_POE | Either the certificate, the OCSP, or the CRL are not yet valid but we don't have proof of existence (POE) of the digital signature. | |||||||||
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_REVOCATION_CHECK_FAILED | OCSP certificate revocation check network error. | |||||||||
DigitalSignatureValidationResult.CertificateStatus | OK_BUT_SELF_SIGNED | The certificate status is valid, but self-signed. | |||||||||
DigitalSignatureValidationResult.CertificateStatus | REVOKED | The certificate has been revoked. | |||||||||
DigitalSignatureValidationResult.CertificateStatus | REVOKED_BUT_VALID_IN_THE_PAST | The certificate has been revoked as of today but we have confidence that this certificate was valid in the past, when the signature was created. | |||||||||
DigitalSignatureValidationResult.CertificateStatus | REVOKED_NO_POE | The certificate has been revoked but we don't have proof of existence (POE) of the digital signature. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getLocalizedDescription(Context context)
Returns localized description for the certificate status issues.
| ||||||||||
static DigitalSignatureValidationResult.CertificateStatus | valueOf(String name) | ||||||||||
final static CertificateStatus[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Either the certificate, the OCSP, or the CRL has expired. According to the spec, this is an invalid state (error).
Either the certificate, the OCSP, or the CRL has expired as of today but we have confidence that this certificate was valid in the past, when the signature was created. According to the specification, this is an indeterminate state (warning).
Either the certificate, the OCSP, or the CRL has expired but we don't have proof of existence (POE) of the digital signature. According to the specification, this is an indeterminate state (warning).
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. According to the spec, this is an invalid state (error).
Either the certificate, the OCSP, or the CRL are not yet valid but we don't have proof of existence (POE) of the digital signature. According to the specification, this is an indeterminate state (warning).
The certificate status is correct, valid.
The certificate date is correct, but couldn't check against a certificate authority.
OCSP certificate revocation check network error. Either due to invalid OCSP server URL or network timeout.
The certificate status is valid, but self-signed.
The certificate has been revoked. According to the spec, this is an invalid state (error).
The certificate has been revoked as of today but we have confidence that this certificate was valid in the past, when the signature was created. According to the specification, this is an indeterminate state (warning).
The certificate has been revoked but we don't have proof of existence (POE) of the digital signature. According to the specification, this is an indeterminate state (warning).
Returns localized description for the certificate status issues.
context | Context used for retrieving localized descriptions. |
---|
null
if the
status is not an issue.