eID middleware |

# be::portugal::eid::PTEID_EIDCard Class Reference

This class represents a Portugal EID card. More...

Inheritance diagram for be::portugal::eid::PTEID_EIDCard:

List of all members.

## Public Member Functions
override void | Dispose ()
virtual bool | isTestCard ()
| Return true this is a test card.
virtual bool | getAllowTestCard ()
| Return true if test card are allowed.
virtual void | setAllowTestCard (bool allow)
| Set the flag to allow the test cards.
virtual PTEID_CertifStatus | getDataStatus ()
| Return the status of the data (RRN certificate validity).
override PTEID_XMLDoc | getDocument (PTEID_DocumentType type)
| Return a document from the card.
PTEID_EIdFullDoc | getFullDoc ()
| Get the full document.
PTEID_EId | getID ()
| Get the id document.
PTEID_Picture | getPicture ()
| Get the picture document.
PTEID_CardVersionInfo | getVersionInfo ()
| Get the info document.
PTEID_Certificate | getCert (PTEID_CertifType type)
| Return certificate by type from the card.
PTEID_Certificate | getRrn ()
| Return the RRN certificate from the card.
PTEID_Certificate | getRoot ()
| Return the root certificate from the card.
PTEID_Certificate | getCA ()
| Return the ca certificate from the card.
PTEID_Certificate | getSignature ()
| Return the signature certificate from the card.
PTEID_Certificate | getAuthentication ()
| Return the authentication certificate from the card.
override PTEID_ByteArray | getRawData (PTEID_RawDataType type)
| Return a raw data from the card.
PTEID_ByteArray | getRawData_Id ()
| Get the Id RawData.
PTEID_ByteArray | getRawData_IdSig ()
| Get the IdSig RawData.
PTEID_ByteArray | getRawData_Addr ()
| Get the Addr RawData.
PTEID_ByteArray | getRawData_AddrSig ()
| Get the AddrSig RawData.
PTEID_ByteArray | getRawData_Picture ()
| Get the picture RawData.
PTEID_ByteArray | getRawData_CardInfo ()
| Get the Card Info RawData.
PTEID_ByteArray | getRawData_TokenInfo ()
| Get the Token Info RawData.
PTEID_ByteArray | getRawData_CertRRN ()
| Get the Cert RRN RawData.
PTEID_ByteArray | getRawData_Challenge ()
| Get the challenge RawData.
PTEID_ByteArray | getRawData_Response ()
| Get the response RawData.
## Static Public Member Functions
static bool | isApplicationAllowed ()
| Return true if the user allow the application.

## Detailed Description

This class represents a Portugal EID card.

To get such an object you have to ask it from the ReaderContext.

## Member Function Documentation

override void be::portugal::eid::PTEID_EIDCard::Dispose | ( |  | ) | `[inline, virtual]`

Reimplemented from be::portugal::eid::PTEID_SmartCard.

Reimplemented in be::portugal::eid::PTEID_ForeignerCard, and be::portugal::eid::PTEID_KidsCard.

virtual bool be::portugal::eid::PTEID_EIDCard::getAllowTestCard | ( |  | ) | `[inline, virtual]`

Return true if test card are allowed.

PTEID_Certificate be::portugal::eid::PTEID_EIDCard::getAuthentication | ( |  | ) | `[inline]`

Return the authentication certificate from the card.

PTEID_Certificate be::portugal::eid::PTEID_EIDCard::getCA | ( |  | ) | `[inline]`

Return the ca certificate from the card.

PTEID_Certificate be::portugal::eid::PTEID_EIDCard::getCert | ( | PTEID_CertifType | type | ) | `[inline]`

Return certificate by type from the card.

virtual PTEID_CertifStatus be::portugal::eid::PTEID_EIDCard::getDataStatus | ( |  | ) | `[inline, virtual]`

Return the status of the data (RRN certificate validity).

override PTEID_XMLDoc be::portugal::eid::PTEID_EIDCard::getDocument | ( | PTEID_DocumentType | type | ) | `[inline, virtual]`

Return a document from the card.

Throw PTEID_ExDocTypeUnknown exception if the document doesn't exist for this card.

Reimplemented from be::portugal::eid::PTEID_Card.

PTEID_EIdFullDoc be::portugal::eid::PTEID_EIDCard::getFullDoc | ( |  | ) | `[inline]`

Get the full document.

PTEID_EId be::portugal::eid::PTEID_EIDCard::getID | ( |  | ) | `[inline]`

Get the id document.

PTEID_Picture be::portugal::eid::PTEID_EIDCard::getPicture | ( |  | ) | `[inline]`

Get the picture document.

override PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData | ( | PTEID_RawDataType | type | ) | `[inline, virtual]`

Return a raw data from the card.

Throw PTEID_ExFileTypeUnknown exception if the document doesn't exist for this card.

Reimplemented from be::portugal::eid::PTEID_Card.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_Addr | ( |  | ) | `[inline]`

Get the Addr RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_AddrSig | ( |  | ) | `[inline]`

Get the AddrSig RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_CardInfo | ( |  | ) | `[inline]`

Get the Card Info RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_CertRRN | ( |  | ) | `[inline]`

Get the Cert RRN RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_Challenge | ( |  | ) | `[inline]`

Get the challenge RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_Id | ( |  | ) | `[inline]`

Get the Id RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_IdSig | ( |  | ) | `[inline]`

Get the IdSig RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_Picture | ( |  | ) | `[inline]`

Get the picture RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_Response | ( |  | ) | `[inline]`

Get the response RawData.

PTEID_ByteArray be::portugal::eid::PTEID_EIDCard::getRawData_TokenInfo | ( |  | ) | `[inline]`

Get the Token Info RawData.

PTEID_Certificate be::portugal::eid::PTEID_EIDCard::getRoot | ( |  | ) | `[inline]`

Return the root certificate from the card.

PTEID_Certificate be::portugal::eid::PTEID_EIDCard::getRrn | ( |  | ) | `[inline]`

Return the RRN certificate from the card.

PTEID_Certificate be::portugal::eid::PTEID_EIDCard::getSignature | ( |  | ) | `[inline]`

Return the signature certificate from the card.

PTEID_CardVersionInfo be::portugal::eid::PTEID_EIDCard::getVersionInfo | ( |  | ) | `[inline]`

Get the info document.

static bool be::portugal::eid::PTEID_EIDCard::isApplicationAllowed | ( |  | ) | `[inline, static]`

Return true if the user allow the application.

virtual bool be::portugal::eid::PTEID_EIDCard::isTestCard | ( |  | ) | `[inline, virtual]`

Return true this is a test card.

virtual void be::portugal::eid::PTEID_EIDCard::setAllowTestCard | ( | bool | allow | ) | `[inline, virtual]`

Set the flag to allow the test cards.