Foxit PDF SDK
fsdk.CertVerifyResult Class Reference

Public Member Functions

def GetCert ()
 Get a certificate contnet. More...
 
def GetCert_check_time ()
 Get the actual time when this certificate is checked validity. More...
 
def GetCert_status ()
 Get certificate status. More...
 
def GetExist_response_signature_vri_creation_time ()
 Get indicate if creation time of response signature's VRI exists. More...
 
def GetExist_signature_vri_creation_time ()
 Get indicate if creation time of siganture's VRI exists. More...
 
def GetIs_ca ()
 Get indicate if the certificate is a CA certificate. More...
 
def GetIs_trusted ()
 Get indicate if the certificate is truscted by user. More...
 
def GetReason ()
 Get revocation reason of the certificate. More...
 
def GetResponse ()
 Get a response for the certificate. More...
 
def GetResponse_effect_time_range ()
 Get the time range when the response takes effect. More...
 
def GetResponse_info_location ()
 Get response information (as revocation information) location where certificate response can be found. More...
 
def GetResponse_signature_vri_creation_time ()
 Get creation time of response signature's VRI. More...
 
def GetRevoke_time ()
 Get revoked time got from the response. More...
 
def GetSignature_vri_creation_time ()
 Get creation time of a signature's VRI. More...
 
def Set (cert, 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...
 
def SetCert (value)
 Set a certificate contnet. More...
 
def SetCert_check_time (value)
 Set the actual time when this certificate is checked validity. More...
 
def SetCert_status (value)
 Set certificate status. More...
 
def SetExist_response_signature_vri_creation_time (value)
 Set indicate if creation time of response signature's VRI exists. More...
 
def SetExist_signature_vri_creation_time (value)
 Set indicate if creation time of siganture's VRI exists. More...
 
def SetIs_ca (value)
 Set indicate if the certificate is a CA certificate. More...
 
def SetIs_trusted (value)
 Set indicate if the certificate is truscted by user. More...
 
def SetReason (value)
 Set revocation reason of the certificate. More...
 
def SetResponse (value)
 Set a response for the certificate. More...
 
def SetResponse_effect_time_range (value)
 Set the time range when the response takes effect. More...
 
def SetResponse_info_location (value)
 Set response information (as revocation information) location where certificate response can be found. More...
 
def SetResponse_signature_vri_creation_time (value)
 Set creation time of response signature's VRI. More...
 
def SetRevoke_time (value)
 Set revoked time got from the response. More...
 
def SetSignature_vri_creation_time (value)
 Set creation time of a signature's VRI. More...
 

Detailed Description

This class represents the verify result for a certificate.

Member Function Documentation

◆ GetCert()

fsdk.CertVerifyResult.GetCert ( )

Get a certificate contnet.

Returns
A certificate contnet.

◆ GetCert_check_time()

fsdk.CertVerifyResult.GetCert_check_time ( )

Get the actual time when this certificate is checked validity.

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

◆ GetCert_status()

fsdk.CertVerifyResult.GetCert_status ( )

Get certificate status.

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

◆ GetExist_response_signature_vri_creation_time()

fsdk.CertVerifyResult.GetExist_response_signature_vri_creation_time ( )

Get indicate if creation time of response signature's VRI exists.

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

◆ GetExist_signature_vri_creation_time()

fsdk.CertVerifyResult.GetExist_signature_vri_creation_time ( )

Get indicate if creation time of siganture's VRI exists.

Returns
Indicate if creation time of siganture's VRI exists.

◆ GetIs_ca()

fsdk.CertVerifyResult.GetIs_ca ( )

Get indicate if the certificate is a CA certificate.

Returns
Indicate if the certificate is a CA certificate.

◆ GetIs_trusted()

fsdk.CertVerifyResult.GetIs_trusted ( )

Get indicate if the certificate is truscted by user.

Returns
Indicate if the certificate is truscted by user.

◆ GetReason()

fsdk.CertVerifyResult.GetReason ( )

Get revocation reason of the certificate.

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

◆ GetResponse()

fsdk.CertVerifyResult.GetResponse ( )

Get a response for the certificate.

Returns
A response for the certificate.

◆ GetResponse_effect_time_range()

fsdk.CertVerifyResult.GetResponse_effect_time_range ( )

Get the time range when the response takes effect.

Returns
The time range when the response takes effect.

◆ GetResponse_info_location()

fsdk.CertVerifyResult.GetResponse_info_location ( )

Get response information (as revocation information) location where certificate response can be found.

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

◆ GetResponse_signature_vri_creation_time()

fsdk.CertVerifyResult.GetResponse_signature_vri_creation_time ( )

Get creation time of response signature's VRI.

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

◆ GetRevoke_time()

fsdk.CertVerifyResult.GetRevoke_time ( )

Get revoked time got from the response.

Returns
Revoked time got from the response.

◆ GetSignature_vri_creation_time()

fsdk.CertVerifyResult.GetSignature_vri_creation_time ( )

Get creation time of a signature's VRI.

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

◆ Set()

def fsdk.CertVerifyResult.Set (   cert,
  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.

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 fsdk.CertVerifyResultE_CertStatusValid and this should be one of these values.
[in]reasonRevocation reason of the certificate. Please refer to values starting from fsdk.CertVerifyResultE_ReasonNoStatus 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 fsdk.CertVerifyResultE_LocationNotSet and this should be one of these values.
Returns
None.

◆ SetCert()

fsdk.CertVerifyResult.SetCert (   value)

Set a certificate contnet.

Parameters
[in]valueA certificate contnet.
Returns
None.

◆ SetCert_check_time()

fsdk.CertVerifyResult.SetCert_check_time (   value)

Set the actual time when this certificate is checked validity.

Parameters
[in]valueThe actual time when this certificate is checked validity. utc_hour_offset and utc_minite_offset of this time object are ignored.
Returns
None.

◆ SetCert_status()

fsdk.CertVerifyResult.SetCert_status (   value)

Set certificate status.

Parameters
[in]valueCertificate status. Please refer to values starting from fsdk.CertVerifyResultE_CertStatusValid and this should be one of these values.
Returns
None.

◆ SetExist_response_signature_vri_creation_time()

fsdk.CertVerifyResult.SetExist_response_signature_vri_creation_time (   value)

Set indicate if creation time of response signature's VRI exists.

Parameters
[in]valueIndicate if creation time of response signature's VRI exists.
Returns
None.

◆ SetExist_signature_vri_creation_time()

fsdk.CertVerifyResult.SetExist_signature_vri_creation_time (   value)

Set indicate if creation time of siganture's VRI exists.

Parameters
[in]valueIndicate if creation time of siganture's VRI exists.
Returns
None.

◆ SetIs_ca()

fsdk.CertVerifyResult.SetIs_ca (   value)

Set indicate if the certificate is a CA certificate.

Parameters
[in]valueIndicate if the certificate is a CA certificate.
Returns
None.

◆ SetIs_trusted()

fsdk.CertVerifyResult.SetIs_trusted (   value)

Set indicate if the certificate is truscted by user.

Parameters
[in]valueIndicate if the certificate is truscted by user.
Returns
None.

◆ SetReason()

fsdk.CertVerifyResult.SetReason (   value)

Set revocation reason of the certificate.

Parameters
[in]valueRevocation reason of the certificate. Please refer to values starting from fsdk.CertVerifyResultE_ReasonNoStatus and this should be one of these values.
Returns
None.

◆ SetResponse()

fsdk.CertVerifyResult.SetResponse (   value)

Set a response for the certificate.

Parameters
[in]valueA response for the certificate.
Returns
None.

◆ SetResponse_effect_time_range()

fsdk.CertVerifyResult.SetResponse_effect_time_range (   value)

Set the time range when the response takes effect.

Parameters
[in]valueThe time range when the response takes effect.
Returns
None.

◆ SetResponse_info_location()

fsdk.CertVerifyResult.SetResponse_info_location (   value)

Set response information (as revocation information) location where certificate response can be found.

Parameters
[in]valueResponse information (as revocation information) location where certificate response can be found. Please refer to values starting from fsdk.CertVerifyResultE_LocationNotSet and this should be one of these values.
Returns
None.

◆ SetResponse_signature_vri_creation_time()

fsdk.CertVerifyResult.SetResponse_signature_vri_creation_time (   value)

Set creation time of response signature's VRI.

Parameters
[in]valueCreation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.
Returns
None.

◆ SetRevoke_time()

fsdk.CertVerifyResult.SetRevoke_time (   value)

Set revoked time got from the response.

Parameters
[in]valueRevoked time got from the response.
Returns
None.

◆ SetSignature_vri_creation_time()

fsdk.CertVerifyResult.SetSignature_vri_creation_time (   value)

Set creation time of a signature's VRI.

Parameters
[in]valueCreation time of a signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ignored.
Returns
None.