Botan

Version Information

License
Botan is released under the Simplified BSD License (see LICENSE.md)

string  versionString();

Get a human-readable string identifying the version of Botan. No particular format should be assumed.

Returns
version string

uint  versionDatestamp();

Return the date this version of botan was released, in an integer of the form YYYYMMDD. For instance a version released on May 21, 2013 would return the integer 20130521. If the currently running version is not an official release, this function will return 0 instead.

Returns
release date, or zero if unreleased

uint  versionMajor();

Get the major version number.

Returns
major version number

uint  versionMinor();

Get the minor version number.

Returns
minor version number

uint  versionPatch();

Get the patch number.

Returns
patch number

static long  BOTAN_VERSION_CODE;

Compare using BOTAN_VERSION_CODE_FOR, as in static assert ( BOTAN_VERSION_CODE > BOTAN_VERSION_CODE_FOR(1,8,0), "Botan version too old");