public class CardVerifier
extends java.lang.Object
Contains functionalities to check Card and CardContent TODO: AID, SFID in this class should initiated according to card-generation.
| Constructor and Description |
|---|
CardVerifier(de.gematik.ti.healthcardaccess.IHealthCard card) |
| Modifier and Type | Method and Description |
|---|---|
de.gematik.ti.healthcardaccess.operation.ResultOperation<AuthenticationCertificateState> |
checkAuthCertificate()
Checks the /MF/DF.ESIGN/EF.C.CH.AUT certificate
|
de.gematik.ti.healthcardaccess.operation.ResultOperation<de.gematik.ti.healthcardaccess.result.Response> |
checkCard()
Checks whether there is a technical blocking of the card
|
de.gematik.ti.healthcardaccess.operation.ResultOperation<PinState> |
getPinState(de.gematik.ti.healthcardaccess.cardobjects.Password password)
The operation returns the status of the pin of a selected card designated by PinReference.
|
de.gematik.ti.healthcardaccess.operation.ResultOperation<PinResult> |
verifyPin(PinType pinType)
Performs a PIN entry to a card
The operation causes a prompt for entering the PinReference designated PIN - regardless of whether the PIN previously successful
entered and checked.
|
public CardVerifier(de.gematik.ti.healthcardaccess.IHealthCard card)
public de.gematik.ti.healthcardaccess.operation.ResultOperation<AuthenticationCertificateState> checkAuthCertificate()
Checks the /MF/DF.ESIGN/EF.C.CH.AUT certificate
public de.gematik.ti.healthcardaccess.operation.ResultOperation<PinResult> verifyPin(PinType pinType)
Performs a PIN entry to a card The operation causes a prompt for entering the PinReference designated PIN - regardless of whether the PIN previously successful entered and checked. The card reader transmits the PIN for verification to the chosen card. The test result provides information about the success or failure of the PIN verification and, if necessary, the number of remaining PIN entry attempts.
public de.gematik.ti.healthcardaccess.operation.ResultOperation<PinState> getPinState(de.gematik.ti.healthcardaccess.cardobjects.Password password)
The operation returns the status of the pin of a selected card designated by PinReference. The PIN status contains information about the security status, whether it is deactivated, the remaining PIN entry attempts and the transport status.
password - ICardItempublic de.gematik.ti.healthcardaccess.operation.ResultOperation<de.gematik.ti.healthcardaccess.result.Response> checkCard()
Checks whether there is a technical blocking of the card