backward-compatible (non C++11) constants; refs #27
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
//@{
|
//@{
|
||||||
/*! @defgroup suisseidlib SuisseID Library */
|
/*! @defgroup suisseidlib SuisseID Library */
|
||||||
/*! @defgroup suisseidtypes SuisseID C++ Types and Auxiliary */
|
/*! @defgroup suisseidtypes SuisseID C++ Types and Auxiliary */
|
||||||
|
/*! @defgroup suisseidconsts SuisseID C++ Constants */
|
||||||
/*! @defgroup suisseidexceptions SuisseID Exceptions */
|
/*! @defgroup suisseidexceptions SuisseID Exceptions */
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
@@ -126,6 +127,13 @@ namespace suisseid {
|
|||||||
/// List of DER encoded binary certificates
|
/// List of DER encoded binary certificates
|
||||||
typedef std::vector<Certificate> Certificates;
|
typedef std::vector<Certificate> Certificates;
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
|
/*! @addtogroup suisseidconsts */
|
||||||
|
//@{
|
||||||
|
const std::string NON_REP = "SwissSign_nonRep ";
|
||||||
|
const std::string DIG_SIG = "SwissSign_digSig ";
|
||||||
|
const std::string DATA_ENC = "SwissSign_dataEnc ";
|
||||||
|
//@}
|
||||||
|
|
||||||
/*! @addtogroup suisseidlib */
|
/*! @addtogroup suisseidlib */
|
||||||
//@{
|
//@{
|
||||||
@@ -304,10 +312,6 @@ namespace suisseid {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
const std::string NON_REP = "SwissSign_nonRep ";
|
|
||||||
const std::string DIG_SIG = "SwissSign_digSig ";
|
|
||||||
const std::string DATA_ENC = "SwissSign_dataEnc ";
|
|
||||||
|
|
||||||
std::string _version; // version is cached
|
std::string _version; // version is cached
|
||||||
unsigned int _minPinLen; // minimal PIN length is cached
|
unsigned int _minPinLen; // minimal PIN length is cached
|
||||||
unsigned int _maxPinLen; // maximal PIN length is cached
|
unsigned int _maxPinLen; // maximal PIN length is cached
|
||||||
|
Reference in New Issue
Block a user