Foxit PDF SDK  9.1
FSCertVerifyResult Class Reference
Inheritance diagram for FSCertVerifyResult:

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(id) - init
 
(id) - initWithCert:is_ca:is_trusted:response:response_effect_time_range:revoke_time:cert_status:reason:cert_check_time:exist_signature_vri_creation_time:signature_vri_creation_time:exist_response_signature_vri_creation_time:response_signature_vri_creation_time:response_info_location:
 Constructor, with parameters.
More...
 
(id) - initWithCptr:swigOwnCObject:
 
(id) - initWithOther:
 Constructor, with another certificate verify result object.
More...
 
(void) - set:is_ca:is_trusted:response:response_effect_time_range:revoke_time:cert_status:reason:cert_check_time:exist_signature_vri_creation_time:signature_vri_creation_time:exist_response_signature_vri_creation_time:response_signature_vri_creation_time:response_info_location:
 Set value.
More...
 

Protected Attributes

BOOL swigCMemOwn
 
void * swigCPtr
 

Properties

NSString * cert
 A certificate contnet.
More...
 
FSDateTimecert_check_time
 The actual time when this certificate is checked validity. utc_hour_offset and utc_minite_offset of this time object are ignored.
More...
 
FSCertVerifyResultCertStatus cert_status
 Certificate status. Please refer to values starting from FSCertVerifyResultCertStatusValid and this should be one of these values.
More...
 
BOOL exist_response_signature_vri_creation_time
 Indicate if creation time of response signature's VRI exists.
More...
 
BOOL exist_signature_vri_creation_time
 Indicate if creation time of siganture's VRI exists.
More...
 
BOOL is_ca
 Indicate if the certificate is a CA certificate.
More...
 
BOOL is_trusted
 Indicate if the certificate is truscted by user.
More...
 
FSCertVerifyResultRevocationReason reason
 Revocation reason of the certificate. Please refer to values starting from FSCertVerifyResultReasonNoStatus and this should be one of these values.
More...
 
FSResponseresponse
 A response for the certificate.
More...
 
FSTimeRangeresponse_effect_time_range
 The time range when the response takes effect.
More...
 
FSCertVerifyResultResponseInfoLocation response_info_location
 Response information (as revocation information) location where certificate response can be found. Please refer to values starting from FSCertVerifyResultLocationNotSet and this should be one of these values.
More...
 
FSDateTimeresponse_signature_vri_creation_time
 Creation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.
More...
 
FSDateTimerevoke_time
 Revoked time got from the response.
More...
 
FSDateTimesignature_vri_creation_time
 Creation time of a signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.
More...
 

Detailed Description

This class represents the verify result for a certificate.

Method Documentation

◆ dealloc

- (void) dealloc

◆ getCptr

- (void*) getCptr

◆ init

- (id) init

◆ initWithCert:is_ca:is_trusted:response:response_effect_time_range:revoke_time:cert_status:reason:cert_check_time:exist_signature_vri_creation_time:signature_vri_creation_time:exist_response_signature_vri_creation_time:response_signature_vri_creation_time:response_info_location:

- (id) initWithCert: (NSString *)  cert
is_ca: (BOOL)  is_ca
is_trusted: (BOOL)  is_trusted
response: (FSResponse*)  response
response_effect_time_range: (FSTimeRange*)  response_effect_time_range
revoke_time: (FSDateTime*)  revoke_time
cert_status: (FSCertVerifyResultCertStatus cert_status
reason: (FSCertVerifyResultRevocationReason reason
cert_check_time: (FSDateTime*)  cert_check_time
exist_signature_vri_creation_time: (BOOL)  exist_signature_vri_creation_time
signature_vri_creation_time: (FSDateTime*)  signature_vri_creation_time
exist_response_signature_vri_creation_time: (BOOL)  exist_response_signature_vri_creation_time
response_signature_vri_creation_time: (FSDateTime*)  response_signature_vri_creation_time
response_info_location: (FSCertVerifyResultResponseInfoLocation response_info_location 

Constructor, with parameters.

Parameters
[in]certA certificate contnet.
[in]is_caIndicate if the certificate is a CA certificate.
[in]is_trustedIndicate if the certificate is trusted by user.
[in]responseA response for the certificate.
[in]response_effect_time_rangeThe time range when the response takes effect.
[in]revoke_timeRevoked time got from the response.
[in]cert_statusCertificate status. Please refer to values starting from FSCertVerifyResultCertStatusValid and this should be one of these values.
[in]reasonRevocation reason of the certificate. Please refer to values starting from FSCertVerifyResultReasonNoStatus and this should be one of these values.
[in]cert_check_timeThe 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_timeIndicate if creation time of siganture's VRI exists.
[in]signature_vri_creation_timeCreation 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_timeIndicate if creation time of response signature's VRI exists.
[in]response_signature_vri_creation_timeCreation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.
[in]response_info_locationResponse information (as revocation information) location where certificate response can be found. Please refer to values starting from FSCertVerifyResultLocationNotSet and this should be one of these values.

◆ initWithCptr:swigOwnCObject:

- (id) initWithCptr: (void *)  cptr
swigOwnCObject: (BOOL)  ownCObject 

◆ initWithOther:

- (id) initWithOther: (FSCertVerifyResult*)  other

Constructor, with another certificate verify result object.

Parameters
[in]otherAnother response object.

◆ set:is_ca:is_trusted:response:response_effect_time_range:revoke_time:cert_status:reason:cert_check_time:exist_signature_vri_creation_time:signature_vri_creation_time:exist_response_signature_vri_creation_time:response_signature_vri_creation_time:response_info_location:

- (void) set: (NSString *)  cert
is_ca: (BOOL)  is_ca
is_trusted: (BOOL)  is_trusted
response: (FSResponse*)  response
response_effect_time_range: (FSTimeRange*)  response_effect_time_range
revoke_time: (FSDateTime*)  revoke_time
cert_status: (FSCertVerifyResultCertStatus cert_status
reason: (FSCertVerifyResultRevocationReason reason
cert_check_time: (FSDateTime*)  cert_check_time
exist_signature_vri_creation_time: (BOOL)  exist_signature_vri_creation_time
signature_vri_creation_time: (FSDateTime*)  signature_vri_creation_time
exist_response_signature_vri_creation_time: (BOOL)  exist_response_signature_vri_creation_time
response_signature_vri_creation_time: (FSDateTime*)  response_signature_vri_creation_time
response_info_location: (FSCertVerifyResultResponseInfoLocation response_info_location 

Set value.

Parameters
[in]certA certificate contnet.
[in]is_caIndicate if the certificate is a CA certificate.
[in]is_trustedIndicate if the certificate is trusted by user.
[in]responseA response for the certificate.
[in]response_effect_time_rangeThe time range when the response takes effect.
[in]revoke_timeRevoked time got from the response.
[in]cert_statusCertificate status. Please refer to values starting from FSCertVerifyResultCertStatusValid and this should be one of these values.
[in]reasonRevocation reason of the certificate. Please refer to values starting from FSCertVerifyResultReasonNoStatus and this should be one of these values.
[in]cert_check_timeThe 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_timeIndicate if creation time of siganture's VRI exists.
[in]signature_vri_creation_timeCreation 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_timeIndicate if creation time of response signature's VRI exists.
[in]response_signature_vri_creation_timeCreation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.
[in]response_info_locationResponse information (as revocation information) location where certificate response can be found. Please refer to values starting from FSCertVerifyResultLocationNotSet and this should be one of these values.
Returns
None.

Member Data Documentation

◆ swigCMemOwn

- (BOOL) swigCMemOwn
protected

◆ swigCPtr

- (void*) swigCPtr
protected

Property Documentation

◆ cert

- (NSString *) cert
readwritenonatomiccopy

A certificate contnet.

◆ cert_check_time

- (FSDateTime *) cert_check_time
readwritenonatomiccopy

The actual time when this certificate is checked validity. utc_hour_offset and utc_minite_offset of this time object are ignored.

◆ cert_status

- (FSCertVerifyResultCertStatus) cert_status
readwritenonatomicassign

Certificate status. Please refer to values starting from FSCertVerifyResultCertStatusValid and this should be one of these values.

◆ exist_response_signature_vri_creation_time

- (BOOL) exist_response_signature_vri_creation_time
readwritenonatomicassign

Indicate if creation time of response signature's VRI exists.

◆ exist_signature_vri_creation_time

- (BOOL) exist_signature_vri_creation_time
readwritenonatomicassign

Indicate if creation time of siganture's VRI exists.

◆ is_ca

- (BOOL) is_ca
readwritenonatomicassign

Indicate if the certificate is a CA certificate.

◆ is_trusted

- (BOOL) is_trusted
readwritenonatomicassign

Indicate if the certificate is truscted by user.

◆ reason

- (FSCertVerifyResultRevocationReason) reason
readwritenonatomicassign

Revocation reason of the certificate. Please refer to values starting from FSCertVerifyResultReasonNoStatus and this should be one of these values.

◆ response

- (FSResponse *) response
readwritenonatomiccopy

A response for the certificate.

◆ response_effect_time_range

- (FSTimeRange *) response_effect_time_range
readwritenonatomiccopy

The time range when the response takes effect.

◆ response_info_location

- (FSCertVerifyResultResponseInfoLocation) response_info_location
readwritenonatomicassign

Response information (as revocation information) location where certificate response can be found. Please refer to values starting from FSCertVerifyResultLocationNotSet and this should be one of these values.

◆ response_signature_vri_creation_time

- (FSDateTime *) response_signature_vri_creation_time
readwritenonatomiccopy

Creation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.

◆ revoke_time

- (FSDateTime *) revoke_time
readwritenonatomiccopy

Revoked time got from the response.

◆ signature_vri_creation_time

- (FSDateTime *) signature_vri_creation_time
readwritenonatomiccopy

Creation time of a signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.