|
Portuguese eID Middleware SDK Version: 3.14.0
|
#include <eidlib.h>
Public Member Functions | |
| virtual PTEIDSDK_API | ~PTEID_PublicKey () |
| PTEIDSDK_API PTEID_ByteArray & | getCardAuthKeyModulus () |
| PTEIDSDK_API PTEID_ByteArray & | getCardAuthKeyExponent () |
| PTEIDSDK_API bool | isECCPublicKey () |
| PTEIDSDK_API PTEID_ByteArray & | getCardAuthECCKey () |
Public Member Functions inherited from eIDMW::PTEID_Object | |
| virtual PTEIDSDK_API | ~PTEID_Object ()=0 |
| NOEXPORT_PTEIDSDK void | Init (const SDK_Context *context, void *impl) |
| NOEXPORT_PTEIDSDK void | Release () |
Additional Inherited Members | |
Protected Member Functions inherited from eIDMW::PTEID_Object | |
| PTEID_Object (const SDK_Context *context, void *impl) | |
| void | addObject (PTEID_Object *impl) |
| void | backupObject (unsigned long idx) |
| PTEID_Object * | getObject (unsigned long idx) |
| PTEID_Object * | getObject (void *impl) |
| void | delObject (unsigned long idx) |
| void | delObject (void *impl) |
| void | checkContextStillOk () const |
| PTEID_Object (const PTEID_Object &obj) | |
| PTEID_Object & | operator= (const PTEID_Object &obj) |
Protected Attributes inherited from eIDMW::PTEID_Object | |
| bool | m_delimpl |
| void * | m_impl |
| unsigned long | m_ulIndexExtAdd |
| std::map< unsigned long, PTEID_Object * > | m_objects |
| SDK_Context * | m_context |
Class that represents the card authentication public key - to be used in a mutual authentication process (1024 bit RSA key) This key is totally unrelated to the citizen authentication key which is present in the authentication certificate
|
virtual |
Destructor
| PTEIDSDK_API PTEID_ByteArray & eIDMW::PTEID_PublicKey::getCardAuthECCKey | ( | ) |
Return the EC public key data in uncompressed format. This is only applicable for objects coming from PTEID_CARDTYPE_IAS5 cards.
| PTEIDSDK_API PTEID_ByteArray & eIDMW::PTEID_PublicKey::getCardAuthKeyExponent | ( | ) |
Return the RSA public key exponent if this object contains an RSA public key
| PTEIDSDK_API PTEID_ByteArray & eIDMW::PTEID_PublicKey::getCardAuthKeyModulus | ( | ) |
Return the RSA public key module if this object contains an RSA public key
| PTEIDSDK_API bool eIDMW::PTEID_PublicKey::isECCPublicKey | ( | ) |
Return true if this object contains an Elliptic Curve public key instead of RSA