Foxit PDF SDK
|
Inherits Object.
Public Types | |
enum | CertStatus { e_CertStatusValid = 0, e_CertStatusRevoked = 1, e_CertStatusExpired = 2, e_CertStatusUnknown = 3 } |
Enumeration for certificate status. More... | |
enum | ResponseInfoLocation { e_LocationNotSet = 0, e_LocationDSS = 1, e_LocationSignature = 2, e_LocationOnline = 3 } |
Enumeration for response information location. More... | |
enum | RevocationReason { e_ReasonNoStatus = -1, e_ReasonUnspecified = 0, e_ReasonKeyCompromise = 1, e_ReasonCACompromise = 2, e_ReasonAffiliationChanged = 3, e_ReasonSuperseded = 4, e_ReasonCessationOfOperation = 5, e_ReasonCertificateHold = 6, e_ReasonRemoveFromCRL = 7, e_ReasonPrivilegeWithDrawn = 8, e_ReasonAACompromise = 9 } |
Enumeration for revocation reason for a certificate. More... | |
Public Attributes | |
String | cert |
A certificate contnet. | |
DateTime | cert_check_time |
The actual time when this certificate is checked validity. utc_hour_offset and utc_minite_offset of this time object are ignored. | |
CertStatus | cert_status |
Certificate status. Please refer to values starting from CertVerifyResult::e_CertStatusValid and this should be one of these values. | |
bool | exist_response_signature_vri_creation_time |
Indicate if creation time of response signature's VRI exists. | |
bool | exist_signature_vri_creation_time |
Indicate if creation time of siganture's VRI exists. | |
bool | is_ca |
Indicate if the certificate is a CA certificate. | |
bool | is_trusted |
Indicate if the certificate is truscted by user. | |
RevocationReason | reason |
Revocation reason of the certificate. Please refer to values starting from CertVerifyResult::e_ReasonNoStatus and this should be one of these values. | |
Response | response |
A response for the certificate. | |
TimeRange | response_effect_time_range |
The time range when the response takes effect. | |
ResponseInfoLocation | response_info_location |
Response information (as revocation information) location where certificate response can be found. Please refer to values starting from CertVerifyResult::e_LocationNotSet and this should be one of these values. | |
DateTime | response_signature_vri_creation_time |
Creation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored. | |
DateTime | revoke_time |
Revoked time got from the response. | |
DateTime | signature_vri_creation_time |
Creation time of a signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored. | |
This class represents the verify result for a certificate.
Enumeration for certificate status.
Values of this enumeration should be used alone.
Enumeration for response information location.
Values of this enumeration should be used alone.
Enumeration for revocation reason for a certificate.
Values of this enumeration should be used alone.
|
inline |
Constructor, with parameters.
[in] | cert | A certificate contnet. |
[in] | is_ca | Indicate if the certificate is a CA certificate. |
[in] | is_trusted | Indicate if the certificate is trusted by user. |
[in] | response | A response for the certificate. |
[in] | response_effect_time_range | The time range when the response takes effect. |
[in] | revoke_time | Revoked time got from the response. |
[in] | cert_status | Certificate status. Please refer to values starting from CertVerifyResult::e_CertStatusValid and this should be one of these values. |
[in] | reason | Revocation reason of the certificate. Please refer to values starting from CertVerifyResult::e_ReasonNoStatus and this should be one of these values. |
[in] | cert_check_time | The actual time when this certificate is checked validity. utc_hour_offset and utc_minite_offset of this time object are ignored. |
[in] | exist_signature_vri_creation_time | Indicate if creation time of siganture's VRI exists. |
[in] | signature_vri_creation_time | Creation time of a signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored. |
[in] | exist_response_signature_vri_creation_time | Indicate if creation time of response signature's VRI exists. |
[in] | response_signature_vri_creation_time | Creation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored. |
[in] | response_info_location | Response information (as revocation information) location where certificate response can be found. Please refer to values starting from CertVerifyResult::e_LocationNotSet and this should be one of these values. |
|
inline |
Constructor, with another certificate verify result object.
[in] | other | Another response object. |
|
inline |
Not equal operator.
[in] | other | Another certificate verify result object. This function will check if current object is not equal to this one. |
|
inline |
Assign operator.
[in] | other | Another certificate verify result object, whose value would be assigned to current object. |
|
inline |
Equal operator.
[in] | other | Another certificate verify result object. This function will check if current object is equal to this one. |
|
inline |
Set value.
[in] | cert | A certificate contnet. |
[in] | is_ca | Indicate if the certificate is a CA certificate. |
[in] | is_trusted | Indicate if the certificate is trusted by user. |
[in] | response | A response for the certificate. |
[in] | response_effect_time_range | The time range when the response takes effect. |
[in] | revoke_time | Revoked time got from the response. |
[in] | cert_status | Certificate status. Please refer to values starting from CertVerifyResult::e_CertStatusValid and this should be one of these values. |
[in] | reason | Revocation reason of the certificate. Please refer to values starting from CertVerifyResult::e_ReasonNoStatus and this should be one of these values. |
[in] | cert_check_time | The actual time when this certificate is checked validity. utc_hour_offset and utc_minite_offset of this time object are ignored. |
[in] | exist_signature_vri_creation_time | Indicate if creation time of siganture's VRI exists. |
[in] | signature_vri_creation_time | Creation time of a signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored. |
[in] | exist_response_signature_vri_creation_time | Indicate if creation time of response signature's VRI exists. |
[in] | response_signature_vri_creation_time | Creation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored. |
[in] | response_info_location | Response information (as revocation information) location where certificate response can be found. Please refer to values starting from CertVerifyResult::e_LocationNotSet and this should be one of these values. |