Foxit PDF SDK
fs_ltvverifier.h
1 
15 #ifndef FS_LTVVERIFIER_H_
16 #define FS_LTVVERIFIER_H_
17 
18 #include "common/fs_common.h"
19 #include "pdf/fs_pdfdoc.h"
20 
26 namespace foxit {
30 namespace pdf {
32 class Response FS_FINAL : public Object{
33  public:
39  typedef enum _ResponseType {
43  e_TypeCRL = 1,
46  } ResponseType;
47 
48 
57  this->type = type;
58  this->response_data = response_data;
59  }
60 
63 
65  ~Response() {}
66 
72  Response(const Response& other) {
73  type = other.type;
75  }
76 
84  Response& operator = (const Response& other) {
85  type = other.type;
87  return *this;
88  }
89 
97  bool operator == (const Response& other) const {
98  return (type == other.type && response_data == other.response_data);
99  }
100 
108  bool operator != (const Response& other) const {
109  return!(*this == other);
110  }
111 
122  this->type = type;
123  this->response_data = response_data;
124  }
125 
133 };
134 
136 class TimeRange FS_FINAL : public Object{
137  public:
145  this->start_time = start_time;
146  this->end_time = end_time;
147  }
148 
151 
154 
160  TimeRange(const TimeRange& other) {
161  start_time = other.start_time;
162  end_time = other.end_time;
163  }
164 
172  TimeRange& operator = (const TimeRange& other) {
173  start_time = other.start_time;
174  end_time = other.end_time;
175  return *this;
176  }
177 
185  bool operator == (const TimeRange& other) const {
186  return (start_time == other.start_time && end_time == other.end_time);
187  }
188 
196  bool operator != (const TimeRange& other) const {
197  return!(*this == other);
198  }
199 
208  void Set(const DateTime& start_time, const DateTime& end_time) {
209  this->start_time = start_time;
210  this->end_time = end_time;
211  }
212 
217 };
218 
220 class CertVerifyResult FS_FINAL : public Object{
221  public:
227  typedef enum _CertStatus {
236  } CertStatus;
237 
243  typedef enum _RevocationReason {
267 
273  typedef enum _ResponseInfoLocation {
283 
284 
315  const DateTime& cert_check_time,
319  this->cert = cert;
320  this->is_ca = is_ca;
321  this->is_trusted = is_trusted;
322  this->response = response;
323  this->response_effect_time_range = response_effect_time_range;
324  this->revoke_time = revoke_time;
325  this->cert_status = cert_status;
326  this->reason = reason;
327  this->cert_check_time = cert_check_time;
328  this->exist_signature_vri_creation_time = exist_signature_vri_creation_time;
329  this->signature_vri_creation_time = signature_vri_creation_time;
330  this->exist_response_signature_vri_creation_time = exist_response_signature_vri_creation_time;
331  this->response_signature_vri_creation_time = response_signature_vri_creation_time;
332  this->response_info_location = response_info_location;
333  }
334 
337  : is_ca(false)
338  , is_trusted(false)
344 
347 
354  cert = other.cert;
355  is_ca = other.is_ca;
356  is_trusted = other.is_trusted;
357  response = other.response;
359  revoke_time = other.revoke_time;
360  cert_status = other.cert_status;
361  reason = other.reason;
368  }
369 
378  cert = other.cert;
379  is_ca = other.is_ca;
380  is_trusted = other.is_trusted;
381  response = other.response;
383  revoke_time = other.revoke_time;
384  cert_status = other.cert_status;
385  reason = other.reason;
392  return *this;
393  }
394 
402  bool operator == (const CertVerifyResult& other) const {
403  return (cert == other.cert && is_ca == other.is_ca && is_trusted == other.is_trusted &&
404  response == other.response &&
406  revoke_time == other.revoke_time &&
407  cert_status == other.cert_status && reason == other.reason &&
408  cert_check_time == other.cert_check_time &&
414  }
415 
423  bool operator != (const CertVerifyResult& other) const {
424  return!(*this == other);
425  }
426 
456  void Set(const String& cert, bool is_ca, bool is_trusted, const Response& response,
459  const DateTime& cert_check_time,
463  this->cert = cert;
464  this->is_ca = is_ca;
465  this->is_trusted = is_trusted;
466  this->response = response;
467  this->response_effect_time_range = response_effect_time_range;
468  this->revoke_time = revoke_time;
469  this->cert_status = cert_status;
470  this->reason = reason;
471  this->cert_check_time = cert_check_time;
472  this->exist_signature_vri_creation_time = exist_signature_vri_creation_time;
473  this->signature_vri_creation_time = signature_vri_creation_time;
474  this->exist_response_signature_vri_creation_time = exist_response_signature_vri_creation_time;
475  this->response_signature_vri_creation_time = response_signature_vri_creation_time;
476  this->response_info_location = response_info_location;
477  }
478 
481 
483  bool is_ca;
528 };
529 
532 
534 class CertIssuerPair FS_FINAL : public Object{
535  public:
543  this->cert = cert;
544  this->issuer = issuer;
545  }
546 
549 
552 
559  cert = other.cert;
560  issuer = other.issuer;
561  }
562 
571  cert = other.cert;
572  issuer = other.issuer;
573  return *this;
574  }
575 
583  bool operator == (const CertIssuerPair& other) const {
584  return (cert == other.cert && issuer == other.issuer);
585  }
586 
594  bool operator != (const CertIssuerPair& other) const {
595  return!(*this == other);
596  }
597 
606  void Set(const String& cert, const String& issuer) {
607  this->cert = cert;
608  this->issuer = issuer;
609  }
610 
615 };
616 
618 class RevocationArrayInfo FS_FINAL : public Object{
619  public:
627  this->ocsp_array = ocsp_array;
628  this->crl_array = crl_array;
629  }
630 
633 
636 
643  ocsp_array = other.ocsp_array;
644  crl_array = other.crl_array;
645  }
646 
655  ocsp_array = other.ocsp_array;
656  crl_array = other.crl_array;
657  return *this;
658  }
659 
667  bool operator == (const RevocationArrayInfo& other) const {
668  size_t ocsp_count = ocsp_array.GetSize();
669  size_t crl_count = crl_array.GetSize();
670  if (ocsp_count != other.ocsp_array.GetSize() || crl_count != crl_array.GetSize())
671  return false;
672  for (size_t i = 0; i < ocsp_count; i++) {
673  if (ocsp_array.GetAt(i) != other.ocsp_array.GetAt(i))
674  return false;
675  }
676  for (size_t i = 0; i < ocsp_count; i++) {
677  if (crl_array.GetAt(i) != other.crl_array.GetAt(i))
678  return false;
679  }
680  return true;
681  }
682 
690  bool operator != (const RevocationArrayInfo& other) const {
691  return!(*this == other);
692  }
693 
703  this->ocsp_array = ocsp_array;
704  this->crl_array = crl_array;
705  }
706 
711 };
712 
720  public:
726  virtual void Release() = 0;
727 
738  virtual StringArray GetCertChainFromSignature(const String& signature_content) = 0;
739 
750  virtual Response GetResponseOnLineForSingleCert(const CertIssuerPair& cert_issuer_pair) = 0;
751 
764  virtual CertVerifyResult VerifyOCSP(const CertIssuerPair& cert_issuer_pair, const String& ocsp_data) = 0;
765 
778  virtual CertVerifyResult VerifyCRL(const CertIssuerPair& cert_issuer_pair, const String& crl_data) = 0;
779 
787  virtual bool IsCA(const String& cert) = 0;
788 
799  virtual DateTime GetDTSTime(const String& signature_content) = 0;
800 
811  virtual String GetTSTSignature(const String& signature_content) = 0;
812 
824  virtual DateTime GetTSTTime(const String& signature_content) = 0;
825 
837  virtual CertIssuerPair GetOCSPCertAndIssuer(const String& ocsp_data, const StringArray& trust_cert_chain) = 0;
838 
850  virtual DateTime GetOCSPProducedAtTime(const String& ocsp_data) = 0;
851 
859  virtual bool IsOCSPNeedCheck(const String& ocsp_data) = 0;
860 
871  virtual TimeRange GetCertValidTimeRange(const String& cert) = 0;
872 
883  virtual String GetOCSPSignature(const String& ocsp_data) = 0;
884 
895  virtual String GetCRLSignature(const String& crl_data) = 0;
896 
907  virtual RevocationArrayInfo GetRevocationInfoFromSignatureData(const String& signature_content) = 0;
908 
917  virtual bool IsIssuerMatchCert(const CertIssuerPair& cert_issuer_pair) = 0;
918 
919  protected:
920  ~RevocationCallback() {}
921 };
922 
932  public:
940  virtual bool IsCertTrusted(const String& cert) = 0;
941 
949  virtual bool IsCertTrustedRoot(const String& cert) = 0;
950 
951 };
952 
956 
957 
965 class LTVVerifier FS_FINAL : public Base{
966  public:
972  typedef enum _TimeType {
974  e_SignatureCreationTime = 0,
976  e_SignatureTSTTime = 1,
978  e_CurrentTime = 2,
983  e_VRICreationTime = 3
984  } TimeType;
985 
991  typedef enum _VerifyMode {
993  e_VerifyModeETSI = 0,
995  e_VerifyModeAcrobat = 1
996  } VerifyMode;
997 
998 
1014  explicit LTVVerifier(const PDFDoc& document, bool is_verify_signature, bool use_expired_tst,
1015  bool ignore_doc_info, TimeType time_type);
1016 
1022  LTVVerifier(const LTVVerifier& other);
1030  LTVVerifier& operator = (const LTVVerifier& other);
1031 
1039  bool operator == (const LTVVerifier& other) const;
1047  bool operator != (const LTVVerifier& other) const;
1048 
1050  ~LTVVerifier();
1051 
1059  bool IsEmpty() const;
1060 
1071  void SetRevocationCallback(RevocationCallback* callback);
1072 
1083  void SetVerifyMode(VerifyMode mode);
1084 
1094  void SetTrustedCertStoreCallback(TrustedCertStoreCallback* callback);
1095 
1107  SignatureVerifyResultArray Verify();
1108 
1120  SignatureVerifyResultArray VerifySignature(const Signature& signature);
1121 
1129  void AddDSS(const SignatureVerifyResult& signature_verify_result);
1130 
1131  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
1132  explicit LTVVerifier(FS_HANDLE handle = NULL);
1133 };
1134 
1136 class SignatureVerifyResult FS_FINAL : public Base{
1137  public:
1143  typedef enum _LTVState {
1150  } LTVState;
1151 
1152 
1167 
1175  bool operator == (const SignatureVerifyResult& other) const;
1183  bool operator != (const SignatureVerifyResult& other) const;
1184 
1192  bool IsEmpty() const;
1193 
1196 
1237 
1244 
1251 
1259 
1260  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
1261  explicit SignatureVerifyResult(FS_HANDLE handle = NULL);
1262 
1263 };
1264 
1265 } // namespace pdf
1266 } // namespace foxit
1267 #endif // FS_LTVVERIFIER_H_
1268 
void Set(const String &cert, const String &issuer)
Set value.
Definition: fs_ltvverifier.h:606
virtual void Release()=0
A callback function used to release current callback object itself.
virtual RevocationArrayInfo GetRevocationInfoFromSignatureData(const String &signature_content)=0
A callback function used to get the revocation information (in array type) from a signature.
bool operator==(const CertVerifyResult &other) const
Equal operator.
Definition: fs_ltvverifier.h:402
TimeRange response_effect_time_range
The time range when the response takes effect.
Definition: fs_ltvverifier.h:489
virtual CertIssuerPair GetOCSPCertAndIssuer(const String &ocsp_data, const StringArray &trust_cert_chain)=0
A callback function used to get the cert-issuer pair of OCSP response.
bool operator==(const CertIssuerPair &other) const
Equal operator.
Definition: fs_ltvverifier.h:583
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:216
This means certificate status is unknown.
Definition: fs_ltvverifier.h:235
LTVState
Enumeration for LTV state that indicates if a signature is a LTV signature.
Definition: fs_ltvverifier.h:1143
TimeRange()
Constructor.
Definition: fs_ltvverifier.h:150
DateTime GetSignatureCheckTime()
Get the time that is actually used to check signature.
Definition: fs_basictypes.h:432
Definition: fs_basictypes.h:228
This means LTV is inactive.
Definition: fs_ltvverifier.h:1145
size_t GetSize() const
Get the size of elements in current array.
virtual StringArray GetCertChainFromSignature(const String &signature_content)=0
A callback function used to get the cert chain from the signature content.
String GetSignatureHashValue()
Get signature hash value.
CFX_Object Object
Object type.
Definition: fs_basictypes.h:219
Revocatoin reason: key compromise.
Definition: fs_ltvverifier.h:249
virtual bool IsCA(const String &cert)=0
A callback function used to judge whether a certificate is a CA certificate.
Response information is got by online request.
Definition: fs_ltvverifier.h:281
StringArray crl_array
An array of CRL response content.
Definition: fs_ltvverifier.h:710
virtual bool IsCertTrusted(const String &cert)=0
A callback function used to check if input certificate is trusted.
TimeRange(const DateTime &start_time, const DateTime &end_time)
Constructor, with parameters.
Definition: fs_ltvverifier.h:144
String cert
A certificate contnet.
Definition: fs_ltvverifier.h:480
This means certificate is expired.
Definition: fs_ltvverifier.h:233
String cert
Certificate content.
Definition: fs_ltvverifier.h:612
void Set(const String &cert, bool is_ca, bool is_trusted, const Response &response, const TimeRange &response_effect_time_range, const DateTime &revoke_time, CertStatus cert_status, RevocationReason reason, const DateTime &cert_check_time, bool exist_signature_vri_creation_time, const DateTime &signature_vri_creation_time, bool exist_response_signature_vri_creation_time, const DateTime &response_signature_vri_creation_time, ResponseInfoLocation response_info_location)
Set value.
Definition: fs_ltvverifier.h:456
virtual bool IsOCSPNeedCheck(const String &ocsp_data)=0
A callback function used to get flag which decides if need to check OCSP response.
~RevocationArrayInfo()
Destructor.
Definition: fs_ltvverifier.h:635
Revocatoin reason: certificate hold.
Definition: fs_ltvverifier.h:259
ResponseType type
Response type. Please refer to values starting from Response::e_TypeNone and this should be one of th...
Definition: fs_ltvverifier.h:130
Header file for common definitions and classes.
virtual Response GetResponseOnLineForSingleCert(const CertIssuerPair &cert_issuer_pair)=0
A callback function used to get response online for a certificate.
bool operator !=(const RevocationArrayInfo &other) const
Not equal operator.
Definition: fs_ltvverifier.h:690
Response & operator=(const Response &other)
Assign operator.
Definition: fs_ltvverifier.h:84
SignatureVerifyResult(const SignatureVerifyResult &other)
Constructor, with another signature veirfy result object.
Revocatoin reason: remove from CRL.
Definition: fs_ltvverifier.h:261
CertVerifyResultArray GetCertificateVerifyResults()
Get certificate verify results.
Response information is found in DSS dictionary.
Definition: fs_ltvverifier.h:277
No response.
Definition: fs_ltvverifier.h:41
Revocatoin reason: CA compromise.
Definition: fs_ltvverifier.h:251
TimeRange(const TimeRange &other)
Constructor, with another time range object.
Definition: fs_ltvverifier.h:160
virtual String GetOCSPSignature(const String &ocsp_data)=0
A callback function used to get the signature content from a OCSP response.
virtual String GetCRLSignature(const String &crl_data)=0
A callback function used to get the signature content from a CRL response.
Definition: fs_ltvverifier.h:531
virtual DateTime GetOCSPProducedAtTime(const String &ocsp_data)=0
A callback function used to get the produce time of the OCSP response.
bool IsEmpty() const
Check whether current object is empty or not.
Definition: fs_ltvverifier.h:955
void Set(const DateTime &start_time, const DateTime &end_time)
Set value.
Definition: fs_ltvverifier.h:208
bool exist_signature_vri_creation_time
Indicate if creation time of siganture's VRI exists.
Definition: fs_ltvverifier.h:510
CertStatus cert_status
Certificate status. Please refer to values starting from CertVerifyResult::e_CertStatusValid and this...
Definition: fs_ltvverifier.h:497
Revocatoin reason: affiliation changed.
Definition: fs_ltvverifier.h:253
SignatureVerifyResult & operator=(const SignatureVerifyResult &other)
Assign operator.
~TimeRange()
Destructor.
Definition: fs_ltvverifier.h:153
virtual bool IsCertTrustedRoot(const String &cert)=0
A callback function used to check if input certificate is used as a trusted root.
Response(const Response &other)
Constructor, with another response object.
Definition: fs_ltvverifier.h:72
virtual TimeRange GetCertValidTimeRange(const String &cert)=0
A callback function used to get the time range that represents validity period of a certificate.
Definition: fs_ltvverifier.h:931
Definition: fs_ltvverifier.h:1136
RevocationReason
Enumeration for revocation reason for a certificate.
Definition: fs_ltvverifier.h:243
This means certificate is valid.
Definition: fs_ltvverifier.h:229
DateTime signature_vri_creation_time
Creation time of a signature's VRI. utc_hour_offset and utc_minite_offset of this time object are ign...
Definition: fs_ltvverifier.h:515
This means certificate is revoked.
Definition: fs_ltvverifier.h:231
bool operator==(const Response &other) const
Equal operator.
Definition: fs_ltvverifier.h:97
Definition: fs_ltvverifier.h:136
bool operator !=(const Response &other) const
Not equal operator.
Definition: fs_ltvverifier.h:108
RevocationArrayInfo & operator=(const RevocationArrayInfo &other)
Assign operator.
Definition: fs_ltvverifier.h:654
BYTE STRING CLASS.
Definition: fx_string.h:317
DateTime start_time
Start time of current time range.
Definition: fs_ltvverifier.h:214
~CertVerifyResult()
Destructor.
Definition: fs_ltvverifier.h:346
DateTime response_signature_vri_creation_time
Creation time of response signature's VRI. utc_hour_offset and utc_minite_offset of this time object ...
Definition: fs_ltvverifier.h:522
CRL response.
Definition: fs_ltvverifier.h:43
DateTime cert_check_time
The actual time when this certificate is checked validity. utc_hour_offset and utc_minite_offset of t...
Definition: fs_ltvverifier.h:508
LTVState GetLTVState()
Get LTV state that indicates if a signature is a LTV signature.
CertIssuerPair()
Constructor.
Definition: fs_ltvverifier.h:548
Definition: fs_signature.h:93
Response()
Constructor.
Definition: fs_ltvverifier.h:62
bool is_trusted
Indicate if the certificate is truscted by user.
Definition: fs_ltvverifier.h:485
virtual CertVerifyResult VerifyCRL(const CertIssuerPair &cert_issuer_pair, const String &crl_data)=0
A callback function used to verify whether the CRL response matches the certificate and get the verif...
LTVVerifier::TimeType GetSignatureCheckTimeType()
Get the type of the time that is actually used to check siganture.
String response_data
Response content.
Definition: fs_ltvverifier.h:132
bool is_ca
Indicate if the certificate is a CA certificate.
Definition: fs_ltvverifier.h:483
CertIssuerPair(const String &cert, const String &issuer)
Constructor, with parameters.
Definition: fs_ltvverifier.h:542
bool operator==(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are equal.
Definition: fs_basictypes.h:128
void Set(ResponseType type, const String &response_data)
Set value.
Definition: fs_ltvverifier.h:121
CertIssuerPair(const CertIssuerPair &other)
Constructor, with another cert-issuer pair object.
Definition: fs_ltvverifier.h:558
CertVerifyResult & operator=(const CertVerifyResult &other)
Assign operator.
Definition: fs_ltvverifier.h:377
SignatureVerifyResultArray GetOCSPSigantureVerifyResults()
Get signature verify results for OCSP signature of each certificate.
SignatureVerifyResult GetTSTSignatureVerifyResult()
Get the verify result of time stamp token of this signature.
bool operator==(const SignatureVerifyResult &other) const
Equal operator.
CertVerifyResult()
Constructor.
Definition: fs_ltvverifier.h:336
String GetAt(size_t index) const
Retrieve a copy of the element at position specified by index in current array.
Foxit namespace.
Definition: fs_compare.h:27
CertVerifyResult(const CertVerifyResult &other)
Constructor, with another response object.
Definition: fs_ltvverifier.h:353
virtual DateTime GetTSTTime(const String &signature_content)=0
A callback function used to get the time stamp token time from signature content.
CertStatus
Enumeration for certificate status.
Definition: fs_ltvverifier.h:227
Definition: fs_ltvverifier.h:719
Revocatoin reason: ceritifcate has no status.
Definition: fs_ltvverifier.h:245
bool operator !=(const CertIssuerPair &other) const
Not equal operator.
Definition: fs_ltvverifier.h:594
void Set(const StringArray &ocsp_array, const StringArray &crl_array)
Set value.
Definition: fs_ltvverifier.h:702
virtual bool IsIssuerMatchCert(const CertIssuerPair &cert_issuer_pair)=0
A callback function used to check if an issuer matches a certificate.
bool operator !=(const TimeRange &other) const
Not equal operator.
Definition: fs_ltvverifier.h:196
Definition: fs_ltvverifier.h:32
Definition: fs_ltvverifier.h:618
Header file for PDF document related definitions and classes.
bool operator !=(const SignatureVerifyResult &other) const
Not equal operator.
RevocationReason reason
Revocation reason of the certificate. Please refer to values starting from CertVerifyResult::e_Reason...
Definition: fs_ltvverifier.h:503
Definition: fs_ltvverifier.h:534
Response(ResponseType type, const String &response_data)
Constructor, with parameters.
Definition: fs_ltvverifier.h:56
TimeRange & operator=(const TimeRange &other)
Assign operator.
Definition: fs_ltvverifier.h:172
~CertIssuerPair()
Destructor.
Definition: fs_ltvverifier.h:551
#define NULL
The null-pointer value.
Definition: fx_system.h:767
Revocatoin reason: privilege with drawn.
Definition: fs_ltvverifier.h:263
DateTime end_time
End time of current time range.
Definition: fs_ltvverifier.h:216
Response response
A response for the certificate.
Definition: fs_ltvverifier.h:487
This means LTV is enabled.
Definition: fs_ltvverifier.h:1147
Response information is found in signature content.
Definition: fs_ltvverifier.h:279
RevocationArrayInfo()
Constructor.
Definition: fs_ltvverifier.h:632
String GetSignatureName()
Get signature name.
bool operator !=(const CertVerifyResult &other) const
Not equal operator.
Definition: fs_ltvverifier.h:423
Definition: fs_pdfdoc.h:389
DateTime revoke_time
Revoked time got from the response.
Definition: fs_ltvverifier.h:491
~Response()
Destructor.
Definition: fs_ltvverifier.h:65
StringArray ocsp_array
An array of OCSP response content.
Definition: fs_ltvverifier.h:708
Revocatoin reason: unspecified reason.
Definition: fs_ltvverifier.h:247
virtual CertVerifyResult VerifyOCSP(const CertIssuerPair &cert_issuer_pair, const String &ocsp_data)=0
A callback function used to verify whether the OCSP response matches the certificate and get the veri...
bool exist_response_signature_vri_creation_time
Indicate if creation time of response signature's VRI exists.
Definition: fs_ltvverifier.h:517
uint32 GetSignatureState()
Get signature state.
CertIssuerPair & operator=(const CertIssuerPair &other)
Assign operator.
Definition: fs_ltvverifier.h:570
TimeType
Enumeration for time type.
Definition: fs_ltvverifier.h:972
Revocatoin reason: superseded.
Definition: fs_ltvverifier.h:255
ResponseInfoLocation response_info_location
Response information (as revocation information) location where certificate response can be found....
Definition: fs_ltvverifier.h:527
String issuer
An issuer of the certificate.
Definition: fs_ltvverifier.h:614
CertVerifyResult(const String &cert, bool is_ca, bool is_trusted, const Response &response, const TimeRange &response_effect_time_range, const DateTime &revoke_time, CertStatus cert_status, RevocationReason reason, const DateTime &cert_check_time, bool exist_signature_vri_creation_time, const DateTime &signature_vri_creation_time, bool exist_response_signature_vri_creation_time, const DateTime &response_signature_vri_creation_time, ResponseInfoLocation response_info_location)
Constructor, with parameters.
Definition: fs_ltvverifier.h:312
virtual DateTime GetDTSTime(const String &signature_content)=0
A callback function used to get the DTS (document time stamp signature) time from signature content.
RevocationArrayInfo(const StringArray &ocsp_array, const StringArray &crl_array)
Constructor, with parameters.
Definition: fs_ltvverifier.h:626
Revocatoin reason: cessation of operation.
Definition: fs_ltvverifier.h:257
RevocationArrayInfo(const RevocationArrayInfo &other)
Constructor, with another revocation array information object.
Definition: fs_ltvverifier.h:642
ResponseInfoLocation
Enumeration for response information location.
Definition: fs_ltvverifier.h:273
bool operator==(const TimeRange &other) const
Equal operator.
Definition: fs_ltvverifier.h:185
Definition: fs_ltvverifier.h:965
This means LTV is not enabled.
Definition: fs_ltvverifier.h:1149
bool operator==(const RevocationArrayInfo &other) const
Equal operator.
Definition: fs_ltvverifier.h:667
Location is not set.
Definition: fs_ltvverifier.h:275
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:198
Definition: fs_basictypes.h:399
Revocatoin reason: AA compromise.
Definition: fs_ltvverifier.h:265
virtual String GetTSTSignature(const String &signature_content)=0
A callback function used to get the time stamp token content from a signature content.
ResponseType
Enumeration for response type.
Definition: fs_ltvverifier.h:39
Definition: fs_ltvverifier.h:220
OCSP response.
Definition: fs_ltvverifier.h:45