eID-LV Middleware User Guide

TABLE OF CONTENTS
INTRO

eID-LV Middleware is a software solution to be installed on a computer, for holder of the Identity Card of The Republic of Latvia (hereinafter – eID card) to benefit from capabilities of the eID card in proving identity online (hereinafter – Authentication) and electronic document signing.

eID-LV Middleware installer includes software components required for computer's operating system to recognize eID card inserted into smart card reader attached to the computer and offer eID card's functions to the user. In addition eID-LV Middleware's package includes application for managing data on eID card's contact chip. This application initially is known as "PinTool", because user can change and unblock PIN's with it. While adding more functionality to this application it will be called "eID-LV Middleware".

This user guide describes functionalities of the application “eID-LV Middleware”, to be used when eID card is inserted into smart card reader integrated in or attached to the computer.

WELCOME SCREEN
Image 1. First Screen "Welcome".

Welcome screen offers the following options: Toolbar on the upper part of the window additionally offers the following options:
Image 2. Settings Menu.

Settings menu offers the following options:
Image 3. Card Reader Menu.

Image 4. Language Menu.

Help offers following options:
Image 5. Help Menu.

CARD INFORMATION
Image 6. Card Information Screen.

As Card Information screen provides information about certificates included in the eID card's contact chip, it is divided into several tabs or sections corresponding to the type of certificate - Authentication Certificate, Signature Certificate and Ciphering Certificate. When selecting option "Card Information", Authentication Certificate tab is opened first, but navigating to other tab for viewing corresponding certificate information and accessing services related to particular certificate type can be done by selecting tab with certificate name (see Image 6).
AUTHENTICATION CERTIFICATE
Image 7. Authentication Certificate Screen Functions.

Authentication Certificate tab in addition to the basic information about certificate subject (holder), issuer and validity (from – to) offers following functions:
When selecting function "Export Certificate”, standard file saving dialog is offered to the user (see Image 8).
Image 8. Authentication certificate export screen.

To export certificate, following actions shall be performed:
  1. Select destination folder for saving certificate.
  2. Choose certificate file name.
  3. Press button “Save”.
When selecting function “Change PIN1”, PIN1 change dialog is offered to the user (see Image 9).
Image 9. PIN1 change dialog.

To change PIN1, following actions shall be performed:
  1. Enter current PIN1.
  2. Enter new PIN1.
  3. Repeat new PIN1.
  4. Press button “OK”.
Image 10. Successful PIN1 change dialog.

In case of successful changing of PIN1 corresponding notification is presented to the user (see Image 10).
Image 11. Incorrectly entered PIN1 dialog.

When entering wrong PIN1 value, corresponding notification is presented to the user (see Image 11). Three PIN1 entry tries are possible, afterwards PIN1 is blocked if wrong PIN1 value is entered again. To unblock blocked PIN1, function "Unblock PIN1" can be used

Please note that PIN1 value shall contain only digits. PIN1 value can not be shorter than 4 and longer than 64 digits.

When choosing PIN1 value which is simple and easy to guess, You are increasing risk for unauthorized use of your identity in cyberspace, in case your eID card gets lost or is stolen.

When selecting option “Unblock PIN1”, PIN1 unblock dialog is presented to the user (see Image 12).

Image 12. PIN1 unblock dialog.

To unblock PIN1, following actions shall be performed:
  1. Enter PUK.
  2. Enter new PIN1.
  3. Repeat new PIN1.
  4. Press button “OK”.
In case of successful unblocking of PIN1 corresponding notification is presented to the user.

When entering wrong PUK value corresponding notification is presented to the user. Three PUK entry tries are possible, afterwards eID card's contact chip is blocked if wrong PUK value is entered again. In this case eID card's functions can be recovered only on-site in the customer service unit of the Office of Citizenship and Migration Affairs by requesting issuance of new PIN mailer.

Please note that PIN1 value shall contain only digits. PIN1 value can not be shorter than 4 and longer than 64 digits.

When choosing PIN1 value which is simple and easy to guess, You are increasing risk for unauthorized use of your identity in cyberspace, in case your eID card gets lost or is stolen.

SIGNATURE CERTIFICATE
Image 13. Signature certificate screen functions.

Signature Certificate tab in addition to the basic information about certificate subject (holder), issuer and validity (from – to) offers following functions:
When selecting function "Export Certificate”, standard file saving dialog is offered to the user (see Image 14).
Image 14. Signature certificate export dialog.

To export certificate, following actions shall be performed:
  1. Select destination folder for saving certificate.
  2. Choose certificate file name.
  3. Press button “Save”.
When selecting function “Change PIN2”, PIN2 change dialog is offered to the user (see Image 15).
Image 15. PIN2 change dialog.

To change PIN2, following actions shall be performed:
  1. Enter current PIN2.
  2. Enter new PIN2.
  3. Repeat new PIN2.
  4. Press button “OK”.
Image 16. Successful PIN2 change dialog.

In case of successful changing of PIN2 corresponding notification is presented to the user (see Image 16).
Image 17. Incorrectly entered PIN2 dialog.

When entering wrong PIN2 value, corresponding notification is presented to the user (see Image 17). Three PIN2 entry tries are possible, afterwards PIN2 is blocked if wrong PIN2 value is entered again. To unblock blocked PIN2, function "Unblock PIN2" can be used

Please note that PIN2 value shall contain only digits. PIN2 value can not be shorter than 6 and longer than 64 digits.

When choosing PIN2 value which is simple and easy to guess, You are increasing risk for unauthorized use of your identity in cyberspace, in case your eID card gets lost or is stolen.

When selecting option “Unblock PIN2”, PIN2 unblock dialog is presented to the user (see Image 18).

Image 18. PIN2 unblock dialog.

To unblock PIN2, following actions shall be performed:
  1. Enter PUK.
  2. Enter new PIN2.
  3. Repeat new PIN2.
  4. Press button “OK”.
In case of successful unblocking of PIN2 corresponding notification is presented to the user.

When entering wrong PUK value corresponding notification is presented to the user. Three PUK entry tries are possible, afterwards eID card's contact chip is blocked if wrong PUK value is entered again. In this case eID card's functions can be recovered only on-site in the customer service unit of the Office of Citizenship and Migration Affairs by requesting issuance of new PIN mailer.

Please note that PIN2 value shall contain only digits. PIN2 value can not be shorter than 6 and longer than 64 digits.

When choosing PIN2 value which is simple and easy to guess, You are increasing risk for unauthorized use of your identity in cyberspace, in case your eID card gets lost or is stolen.

SERVICES
Services are available only with Internet connection and after authentication with valid and active authentication certificate included in eID card! Validity period of authentication certificate can be verified when selecting option "Card Information".
The list of available services is retrieved from service provisioning server and can be different for different eID cards, as well as depend on condition whether particular service has been received already or not.

Services Screen initially can provide following services:
Image 19. Service authentication PIN1 check dialog.

When selecting option “Services”, eID-LV Middleware will try to create secure connection with the authentication server, and, for verifying user's - eID card holder's identity, will ask to enter PIN1. In case of successful user authentication, application will ask services list for particular eID card from Identity Documents Information System. Connection establishment can take several seconds, depending on user's Internet connection speed as well as load on authentication and provisioning servers.

If authentication fails, corresponding error message will be presented. Most likely cause for unsuccessful authentication is authentication certificate being expired and/or not activated. If authentication still fails after several consecutive tries, please contact eID card's Technical Support at Office of Citizenship and Migration Affairs using e-mail: eID@pmlp.gov.lv
Image 20. Service list for card with one available service.

List of available services is presented after successful authentication (see Image 20). Every eID card with included and activated certificates has at least one available service - Change PUK.

Change PUK
Image 21. PUK change service initiation.

To request service “Change PUK”, following actions shall be performed:
  1. Select service from the list (with checkbox).
  2. Press button "Start selected service(s)".
Image 22. PUK change parameters.

When starting service "Change PUK" dialog for entering Change PUK parameters is presented: Button "OK" shall be pressed to confirm entered parameters.

When entering wrong PUK value corresponding notification is presented to the user. Three PUK entry tries are possible, afterwards eID card's contact chip is blocked if wrong PUK value is entered again. In this case eID card's functions can be recovered only on-site in the customer service unit of the Office of Citizenship and Migration Affairs by requesting issuance of new PIN mailer.

Please note that PUK value shall contain only digits. PUK value can not be shorter than 8 and longer than 64 digits.

When choosing PUK value which is simple and easy to guess, You are increasing risk for unauthorized use of your identity in cyberspace, in case your eID card gets lost or is stolen.
Image 23. Dialog that indicates that service is running.

In order to provide selected service, there shall be uninterrupted connection to the Internet and eID card shall not be removed from the smart card reader. Not following mentioned preconditions and interrupting service provision (before receiving notification about successful execution of the service (see Image 24)) can cause permanent damage to eID card's authentication and signature functions.
Image 24. Dialog indicating that service has been finished successfully.

Successful execution of the service is notified with corresponding notification (see Image 24).
UPDATE CERTIFICATES

For eID cards with certificate validity period shorter than eID card's validity, there is a service "Update Certificates" available in the services list (see Image 25). This service can be used only once and during its provision current signature certificate and linked pair of public and private keys, current authentication certificate and linked pair of public and private keys are all deleted, generation of new key pairs and requesting of new certificates to the certification services provider are performed, as well as writing newly issued certificates to eID card's contact chip. Expiry date for the newly issued certificates is equal with expiry date of eID card. Certificates are automatically activated and valid from the moment service is successfully executed.

Image 25. Service list for card with two available services.

Image 26. Certificate update initiation.

To request service “Update Certificates”, following actions shall be performed:
  1. Select service from the list (with checkbox).
  2. Press button "Start selected service(s)".
Image 27. Certificate update service parameters.

When starting service "Update Certificates" dialog for entering Update Certificates parameters is presented: Button "OK" shall be pressed to confirm entered parameters.

When entering wrong value for current PIN1 or PIN2, corresponding notification is presented to the user. Three PIN1 and PIN2 entry tries are possible, afterwards corresponding PIN is blocked if wrong value is entered again. To unblock blocked PIN1 or PIN2, functions "Unblock PIN1" and "Unblock PIN2" can be used
Image 28. Dialog that indicates that service is running.

In order to provide selected service, there shall be uninterrupted connection to the Internet and eID card shall not be removed from the smart card reader. Not following mentioned preconditions and interrupting service provision (before receiving notification about successful execution of the service (see Image 29)) can cause permanent damage to eID card's authentication and signature functions. Certificate update is relatively time consuming service with execution time typically between 1 and 3 minutes, but in separate cases even more.
Image 29. Dialog that indicates that service has been finished successfully.

Successful execution of the service is notified with corresponding notification (see Image 29).
To additionally crosscheck successful execution of the service, it is possible to verify certificate expiry date (it should match eID card's expiry date) using function "Card Information".

After successful update of certificates we strongly recommend to remove eID card from smart card reader and insert it back. Mentioned action will ensure synchronization of newly issued certificates with operating system's certificate store.

In case of unsuccessful certificate update please contact eID card's Technical Support at Office of Citizenship and Migration Affairs using e-mail: eID@pmlp.gov.lv