eID middleware |

# eidlib.h File Reference

`#include <string>`
`#include <vector>`
`#include <map>`
`#include "eidlibdefines.h"`

Go to the source code of this file.

## Classes
class | eIDMW::PTEID_Object
| Base class for the object of PTEID SDK (Can not be instantiated). More...
class | eIDMW::PTEID_ByteArray
| This class is used to receive/pass bytes array from/to different method in the SDK. More...
struct | eIDMW::PTEID_RawData_Eid
| These structure are used for compatibility with old C sdk. More...
struct | eIDMW::PTEID_RawData_Sis
class | eIDMW::PTEID_ReaderSet
| This is a singleton class that is the starting point to get all other objects. More...
class | eIDMW::PTEID_ReaderContext
| This class represent a reader. More...
class | eIDMW::PTEID_Card
| Abstract base class for all the card type supported. More...
class | eIDMW::PTEID_MemoryCard
| Abstract base class for Memory card. More...
class | eIDMW::PTEID_SmartCard
| Abstract base class for Smart card. More...
class | eIDMW::PTEID_SISCard
| This class represents a SIS card. More...
class | eIDMW::PTEID_EIDCard
| This class represents a Portugal EID card. More...
class | eIDMW::PTEID_KidsCard
| This class represents a Kids card which is a particular PTEID_EIDCard. More...
class | eIDMW::PTEID_ForeignerCard
| This class represents a Foreigner card which is a particular PTEID_EIDCard. More...
class | eIDMW::PTEID_XMLDoc
| Abstract base class for all the documents. More...
class | eIDMW::PTEID_Biometric
| Abstract base class for the biometric documents. More...
class | eIDMW::PTEID_Crypto
| Abstract base class for the cryptographic documents. More...
class | eIDMW::PTEID_CardVersionInfo
| Class for the info document. More...
class | eIDMW::PTEID_Sod
| Class for the sod document on a EID Card. More...
class | eIDMW::PTEID_SisId
| Class for the id document on a SIS Card. More...
class | eIDMW::PTEID_EId
| Class for the id document on a EID Card. More...
class | eIDMW::PTEID_Address
| Class for the Address document on a EID Card. More...
class | eIDMW::PTEID_SisFullDoc
| Class for the full document Sis. More...
class | eIDMW::PTEID_EIdFullDoc
| Class for the full document Eid. More...
class | eIDMW::PTEID_Pins
| Container class for all pins on the card. More...
class | eIDMW::PTEID_Pin
| Class that represent one Pin. More...
class | eIDMW::PTEID_Crl
| Class that represents one CRL. More...
class | eIDMW::PTEID_OcspResponse
| Class that represents one OCSP Response. More...
class | eIDMW::PTEID_Certificates
| Container class for all certificates on the card. More...
class | eIDMW::PTEID_Certificate
| Class that represent one certificate. More...
class | eIDMW::PTEID_Config
| Class to access the config parameters. More...
## Namespaces
namespace | eIDMW
## Defines
#define | ReaderSet PTEID_ReaderSet::instance()
| This define give an easy access to singleton (no declaration/instantiation is needed).
#define | PTEID_InitSDK() PTEID_ReaderSet::initSDK()
| Init the SDK (Optional).
#define | PTEID_ReleaseSDK() PTEID_ReaderSet::releaseSDK()
| Release the SDK.
## Functions
PTEIDSDK_API void | eIDMW::PTEID_LOG (PTEID_LogLevel level, const char *module_name, const char *format,...)
| Function for Logging.

## Define Documentation

#define PTEID_InitSDK | ( |  | ) | PTEID_ReaderSet::initSDK()

Init the SDK (Optional).

#define PTEID_ReleaseSDK | ( |  | ) | PTEID_ReaderSet::releaseSDK()

Release the SDK.

THIS MUST BE CALLED WHEN THE SDK IS NOT NEEDED ANYMORE AND BEFORE THE APPLICATION IS CALLED. IF NOT RELEASE PROPERLY, AN EXCEPTION PTEID_ExReleaseNeeded IS THROWN.

#define ReaderSet PTEID_ReaderSet::instance()

This define give an easy access to singleton (no declaration/instantiation is needed).

Usage : ReaderSet.SomeMethod().