electronic ID for Estonia, Latvia and Lituania

Smart-ID – The smart way to identify yourself

Smart-ID is a convenient and secure way to access e-services.

Smart-ID enables you to enter your Internet or mobile bank and other e-services securely and conveniently with your preferred smart device. You only need an Internet connection, as using Smart-ID is not related to SIM cards or mobile operators.

You need your PIN1 code for logging in to e-services; PIN2 enables you to sign your activities, such as bank transfers.

Smart-ID is currently being used in three countries: Estonia, Latvia and Lithuania. If you live here or have business here and would like to register a Smart-ID account to get easy access to e-services, here are your options.

If you are not a resident of Baltic countries and do not have a local national ID-number, then:

  • In Lithuania, non-residents (people without a Lithuanian national ID-number) can apply for Smart-ID Basic. They should visit a Medicinos Bankas bank office with their passport or ID-card.
  • In Estonia and Latvia, currently Smart-ID is currently limited to people with Estonian or Latvian national ID-number.

If you are a resident, you’ll have your residence permit card which enables you to register your Smart-ID account just as you would if you were a citizen. Just follow the instructions meant for ID-card use! This also applies to Estonian e-residents

Mobile-ID: digital identity document on smart phone

Mobile-ID is a SIM card based digital identification document which is always with you when you have your mobile phone. Similarly to an ID-card (digital ID, residence permit car, etc.), mobile-ID is a nationally recognized identity document, the certificates of which are issued by the Police and Border Guard Board. Mobile-ID enables you to do all the activities for which you would usually electronically use an ID-card: accessing e-services such as banks; confirming service changes and bank transfers; signing documents; entering national registers; voting in elections; etc.

Mobile-ID has two methods:

  • Mobile ID Authentication – which is used for logins and have a minimum of 4 digit pin
  • Mobile ID Signature – which is used for signing transactions or contracts and have a minimum 5 digit pin
Test persons can be found here: Test data for Mobile ID and Test data for Smart ID

Start: POST to https://env.zignsec.com/v3/eid/smartid/auth

Result: GET from https://env.zignsec.com/v3/eid/smartid/sessionid

where env is gateway or test-gateway sessionid is the session identifier retrieved from the setup call, named id in the response.

 

POST to https://env.zignsec.com/v3/eid/smartid/auth

env is gateway  or test-gateway

ParameterDescriptionRequired
countryCodeCountry codeYes
identifierTypeUsed to set type of identifier. Options are: PersonalNumber, PassportNumber, NationalIdentityCardNumberYes
identifier Person identifier. Type determined by identifierTypeYes
webhookA URL where success/error results will automatically be POST:ed. During test you try https://webhook.site/ for free web hook URLs.No

1.2 Request example

{
	"countryCode": "EE",
	"identifierType": "PersonalNumber",
	"identifier": "28611217522",
	"webhook": "https://webhook.site/0190cc7d-024b-41e9-bed8-2bf0989111a7"
}
{
    "id": "882cf870-d83e-4734-84c6-8e3263c422cd",
    "errors": []
}

1.4 Response parameters

ParameterDescription
idSession ID. Can be used to retrieve session result.
errorsA JSON array of error conditions, see error handling.

2. Start Session

Mobile ID Authentication: POST to https://env.zignsec.com/v3/eid/mobileid/auth

Mobile ID SignIn: POST to https://env.zignsec.com/v3/eid/mobileid/sign

env is gateway or test-gateway

2.1 Request Parameters

ParameterDescriptionRequired
LanguageMobile Id Language [ENG, EST, RUS, LIT]No
phoneNumberPhone number of the signer with the country code in the format of +xxxxxxxxxYes
personalNumber Identification number of the signer (personal national ID number)Yes
displayTextFormat[GSM_7 – GSM-7 allows displayText to contain up to 40 characters from standard GSM 7-bit alpabet including up to 5 characters from extension table ( €[]^|{}\ ). , UCS_2 – UCS-2 allows up to 20 characters from UCS-2 alpabet (this has all Cyrillic characters, ÕŠŽ šžõ and ĄČĘĖĮŠŲŪŽ ąčęėįšųūž). More info about encoding. ]No
displayTextText displayed in addition to relyingPartyName and Verification Code before asking authentication PIN. Maximum length is 40 bytes that is either 20 or 40 characters depending on the encoding – see displayTextFormat. If you set displayTextFormat=”GSM-7″ then all characters not beloning to this alphabet are replaced with spaces.No
webhook

A URL where success/error results will automatically be POST:ed.

During test you try https://webhook.site/ for free web hook URLs.

No
hash can be generated automatically, but it’s more secure to generate your own. Should be a base64-encoded value of N bytes where number of bytes depends on the hash algorithm: 32 bytes for SHA256, 48 bytes for SHA384, 64 bytes for SHA512 No
hashTypetype of algorithm: SHA256, SHA384, SHA512  No
 

2.2 Request example

{
    "phoneNumber": "+37200000566",
    "personalNumber": "60001018800",
    "language": "RUS",
    "displayText": "exercitation",
    "displayTextFormat": "GSM-7",
    "hash": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4",
    "hashType": "SHA384",
    "webhook": "https://webhook.site/"
}

2.3 Response example

{
    "id": "4a2e0f2c-1390-40b3-a0bb-2c1de18d3149",
    "state": "Pending",
    "verificationCode": "7513",
    "errors": []
}

2.4 Response parameters

ParameterDescription
idSession ID. Can be used to retrieve session result.
StateSession ID state Can be [Pending, Finished, Error].
verificationCodeVerification code.
errorsA JSON array of error conditions, see error handling.

3. Get session result

SmartID
GET https://env.zignsec.com/v3/eid/smartid/sessionid

Mobile ID(Cert, Auth and Sign)
GET https://env.zignsec.com/v3/eid/mobileid/sessionid

3.1 Response parameters

ParameterDescription
idSession ID
stateSession state: Pending, Finished, Error
errorsA JSON array of error conditions, see error handling.
identity

This is a verified identity of the customer. The following parameters can be found in this object.

CountryCodeRepresents the ID providers country belonging. And consequentially the identified persons nationality.
FirstNameFirst name
LastNameLast name
PersonalNumber

Persons identified by their ETSI Natural Person Sematics Identifier specified in ETSI319412-1. Semantics identifier contain information using the following structure in the presented order:

  • 3 character natural identity type reference, that shall have one of the following defined values:
    • “PAS” for identification based on passport number.
    • “IDC” for identification based on national identity card number.
    • “PNO” for identification based on (national) personal number (national civic registration number).
  • 2 character ISO 3166-1 alpha-2 country code (for example EE, LT, LV, KZ)
  • hyphen-minus “-” (0x2D (ASCII), U+002D (UTF-8))
  • identifier (according to country and identity type reference)

Example values may be:

  • PASKZ-987654321012
  • PNOEE-48010010101
  • IDCCZ-1234567890
IdProviderName

ZignSec’s name for the Identity provider:

Mobile-ID or Smart-ID
IdentificationDateThe time the identification was performed.
IdProviderRequestIDNot always set. The identity provider’s unique id for the identification request. For easier tracking.
smartIdDetailsProvider data for information purposes. We do not guarantee absence of breaking changes inside the field, please rely on the other fields
certAuthentication certificate used. DER + Base64 encoded. From the certificate it is possible to obtain end user name, national identity number and country. See [mid-rest-java-client](https://github.com/SK-EID/mid-rest-java-client) or [mid-rest-php-client](https://github.com/SK-EID/mid-rest-php-client) for examples how to parse the certificate.

Signing process doesn’t return a certificate. To obtain the certificate used to create the signature make a separate request (see 3.1.). NB! The authentication certificate can’t be used to verify the signature returned by the signing process.

signature
value
Signature value, base64 encoded.
algorithm
Signature algorithm used, one of SHA256WithECEncryption, SHA256WithRSAEncryption, SHA384WithECEncryption, SHA384WithRSAEncryption, SHA512WithECEncryption or SHA512WithRSAEncryption.

Start of this value reflects the hashType parameter supplied by user (SHA256, SHA384 or SHA512). If EC (Elliptic Curve) or RSA is used – this depends on which certificates the End User has available on the SIM-Card. If SIM-card has both types of certificates available then Application Provider selects the type of certificate by its internal preferences (these preferences can change over time).

verificationResult
date
timestamp when verificationresult was issued
certVerified
boolean indicating if the certificate was verified
signatureVerified
boolean indicating if signature was verified
{
    "id": "882cf870-d83e-4734-84c6-8e3263c494cd",
    "state": "Finished",
    "errors": [],
    "identity": {
        "countryCode": "EE",
        "firstName": "TOMAS",
        "lastName": "ANDERSON",
        "fullName": "TOMAS ANDERSON",
        "personalNumber": "PNOEE-28611217522",
        "gender": "",
        "phone": "",
        "email": "",
        "addressInfoRaw": "",
        "resultReportPdf": "",
        "idProviderName": "BankIDEE",
        "identificationDate": "2020-10-02T08:39:24.5711223Z",
        "idProviderRequestId": "637bf224-5ef3-4506-94c2-ba0077e10537",
        "idProviderPersonId": "",
        "customerPersonId": "",
        "idProviderAuthenticityScore": "noT_SET"
    },
    "smartIdDetails": {
        "state": "COMPLETE",
        "result": {
            "endResult": "OK",
            "documentNumber": "PNOEE-28611217522-6VPP-NQ"
        },
        "signature": {
            "value": "WwuZ/9oAc79ZI+yF5dRNNmyDcZyLfD1lD05yQj5Bc1JYYe1kyMIZ9GY5vFGfAjAYgLM7SPa451mJglHkkMVyXUSPZ23/Ib4FYNBfkpnVEUkbcnFbBteteCPHzoEuhec1eAYpX3WIZ0cDreZetO/czWmbvf8Vy/1/b4b/5QomWu/XRC5fanOAIdwAZ8pom3Hs/iiVxjCuTwGc4kUVoIxk0TwRDNVB1VF/tZ0j3w1aJhZqi79eWCOSq89A0VNEAyHqX00jxI0RGCfmi0PSqbbmIPsqoctLu1E2ya4X2Msn9XvRT7afO+iywX/jbo/Vs3jFe9tHrF3YAlK07Wmw/VQh80agqf1nxSTicQ1oggztQQaIruK1IV/6SHPNidYOeQuySxNfbaGKsJepq0lMKd/VYD7MlGEkE+Ny936zgAUQesPyx+VNkiz2lPWi5eMCjULjjZaaB3lByI/2WQVMrnMXBFdVRJX90p/AkzTouPVVWj5y2wi9plzeCaNx/FlTGDMc1zB94J88STvEQ0CjFVuPqBzwUobspUs5EKgnzuzR/fqo7Xrcl43ZxtfXMLj2kbAgoRsi0co+WolgEssmsEmJMnK4cHAcj8bGs0SArWRmvLineS9+TSfp/WJSqi0C9uyOAqcFkdtFXVPfoDTtvH0ebrOFD/Pib+Y66FlgFNMeCFuIxWRZLJeUhmGE+5Sv85eSB1MJ8PrNfS0gY1eQT9523w0Gtp6pzVI/NPIFsvf7vTwnPiaB6pDFBf/9SckoskkONKBulaigFeAhcl55dJel1C7GwruqBZg6AGKwiPKRgqedNLhn9+6hMQSnjO+/rUYMzo5CqYHplLX1Kx++okftE5qAFBixsNnuyBixOv0J3+qqBcirdaT0fdhkyUu3rxoNEd/Vty6G1Crz54+wWyUPxbFq2JehcfugI8r8WRfpWuv6gA+Sl02gFKxMWahnpCyDPxoRPM9f9YBaby1w3Ze9cMTRWZ/TOESpKd4ja3D9D4i0St+jt3Zp98+8DlWv3P+c",
            "algorithm": "sha512WithRSAEncryption"
        },
        "cert": {
            "value": "MIIH5TCCBc2gAwIBAgIQYKuInkS5HzBfTQJLKN7GvzANBgkqhkiG9w0BAQsFADBnMQswCQYDVQQGEwJFRTEiMCAGA1UECgwZQVMgU2VydGlmaXRzZWVyaW1pc2tlc2t1czEXMBUGA1UEYQwOTlRSRUUtMTA3NDcwMTMxGzAZBgNVBAMMElRFU1Qgb2YgTlEtU0sgMjAxNjAeFw0yMDA4MzExMzU5MzlaFw0y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2S+SlQui6CSOPQpJ4QZ+1U0YxEw3cpiKa2TpUzdeZwzvWpU4c54Q8Y/QiJG6yMAcHIleHNK9KZHNVGb3VmzcDwvzyxb2MKDYXVHChjCZGkdIrGT5F2+4614H+klHem3R18S3XaYuO8Kwbq4nimvska3xtxblDILewvmOA3x/CHJok+e6V1ULF+0UGVvma6Fl2oxYg6UnXMagzjl7X5Ake4mtqgDKVG/h6qoB/eIZQECC3XKBPipxK8j3B0cG0l6aWML29qxwENBnf/biEI7D2yPVGmX844sfqpCUxtZh+b5VH1VJngCwGqAdhQ",
            "certificateLevel": "ADVANCED"
        }
    }
}

3.3 Response example for Mobile ID Auth

{
    "id": "22159365-775e-46ce-b5a0-e24caae3b5a9",
    "state": "Finished",
    "errors": [],
    "identity": {
        "countryCode": "EE",
        "firstName": "MARY ÄNN",
        "lastName": "O’CONNEŽ-ŠUSLIK TESTNUMBER",
        "fullName": "MARY ÄNN O’CONNEŽ-ŠUSLIK TESTNUMBER",
        "personalNumber": "60001018800",
        "gender": "",
        "idProviderName": "Mobile-ID",
        "identificationDate": "2022-11-18T12:36:51.1227713Z",
        "idProviderRequestId": "b3cec0ef-48e1-4947-822a-53ac4c13a1a1",
        "idProviderPersonId": "",
        "customerPersonId": "",
        "idProviderAuthenticityScore": "NOT_SET"
    },
    "cert": {
        "value": "MIIF/zCCA+egAwIBAgIQFWVPtunknJZcrHhxU2YVGzANBgkqhkiG9w0BAQsFADBrMQswCQYDVQQGEwJFRTEiMCAGA1UECgwZQVMgU2VydGlmaXRzZWVyaW1pc2tlc2t1czEXMBUGA1UEYQwOTlRSRUUtMTA3NDcwMTMxHzAdBgNVBAMMFlRFU1Qgb2YgRVNURUlELVNLIDIwMTUwHhcNMTkwNDA5MTA0ODE3WhcNMzAxMjExMjE1OTU5WjCBpTELMAkGA1UEBhMCRUUxPTA7BgNVBAMMNE/igJlDT05ORcW9LcWgVVNMSUsgVEVTVE5VTUJFUixNQVJZIMOETk4sNjAwMDEwMTg4MDAxJ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3nXR/FzyKa9RsWmDAbd0nfYNqAA8noz+Js0aBCVQnC+X1y1X+nvbLBqvxMLbeFS1frb/3aKypOqVeT8eAfG4zEC5F5N+dGVWfAGyGPTBJdfLi7x1TVHf3xzLjXvNyYEdD4pd9x96mH43J5/KZw2AkaNgQ9VpR+fgHp0rndS570Atb6DmWpct5sWky0Hgqgdj1JhiqMEla3xLX7ZCt2vFhLteBuDEoe3WtVDUGRYfs/BDFEq6CQXU6FrY/wl6bsOIu3Rk+Kj9J64M7cEX+NxXkLFVKqdwBPPqB77ZEvuYOuQHwlY65xWuxSFtNZYVmSGfA4I3zi8shCtD/ThTycinSKj0QAymCfHIvFUUzvAzbiXoqm1JmlruKN4tvBKl/lWwT7hqyzGUuy5hpqWwAs0/qHaJUEhQfcLhS6LqBcfSZLef/Ea1iH1gODmp853ClKspvo4w3GZxfAXqsrYFjXvNiUOxeA6S/14GqaKYQxdRPwwT//198x5bHvHy9ntGf3Cz64SwUOEtq52aC/nzIxGBnmZqyoxTBHcpEVrDSOKWUWmIbI/RPpm2knwemPx24jreDllQRlpXyNS+3ZJbV+UsF7mjq/+GN6+ZlN5"
    },
    "signature": {
        "value": "WLdS7ozB8n8eckOdwoXDaS4/exZkGkpSlTC8QHUpAwkNGYACd0OiNEzGTIp67U+htDMX1TrdKsWqZ998oRN5OQ==",
        "algorithm": "SHA384WithECEncryption"
    },
    "verificationResult": {
        "date": "2022-11-18T12:36:51.1243521Z",
        "certVerified": false,
        "signatureVerified": true
    },
    "smartIdDetails": {
        "$type": "SmartId.Gateway.MobileId.RestServices.Models.SessionResponseDto, SmartId.Gateway",
        "state": "COMPLETE",
        "result": "OK",
        "signature": {
            "value": "WLdS7ozB8n8eckOdwoXDaS4/exZkGkpSlTC8QHUpAwkNGYACd0OiNEzGTIp67U+htDMX1TrdKsWqZ998oRN5OQ==",
            "algorithm": "SHA384WithECEncryption"
        },
        "cert": "MIIF/zCCA+egAwIBAgIQFWVPtunknJZcrHhxU2YVGzANBgkqhk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ci5jcnQwYQYIKwYBBQUHAQMEVTBTMFEGBgQAjkYBBTBHMEUWP2h0dHBzOi8vc2suZWUvZW4vcmVwb3NpdG9yeS9jb25kaXRpb25zLWZvci11c2Utb2YtY2VydGlmaWNhdGVzLxMCRU4wNAYDVR0fBC0wKzApoCegJYYjaHR0cHM6Ly9jLnNrLmVlL3Rlc3RfZXN0ZWlkMjAxNS5jcmwwDQYJKoZIhvcNAQELBQADggIBAL0q4xmVjYhl5K/wktEKaXYJOWMopXifANjz4YzXfIhVMVCvsKGKBoWx2wcO8o+b99LHfUIkW3nXR/FzyKa9RsWmDAbd0nfYNqAA8noz+Js0aBCVQnC+X1y1X+nvbLBqvxMLbeFS1frb/3aKypOqVeT8eAfG4zEC5F5N+dGVWfAGyGPTBJdfLi7x1TVHf3xzLjXvNyYEdD4pd9x96mH43J5/KZw2AkaNgQ9VpR+fgHp0rndS570Atb6DmWpct5sWky0Hgqgdj1JhiqMEla3xLX7ZCt2vFhLteBuDEoe3WtVDUGRYfs/BDFEq6CQXU6FrY/wl6bsOIu3Rk+Kj9J64M7cEX+NxXkLFVKqdwBPPqB77ZEvuYOuQHwlY65xWuxSFtNZYVmSGfA4I3zi8shCtD/ThTycinSKj0QAymCfHIvFUUzvAzbiXoqm1JmlruKN4tvBKl/lWwT7hqyzGUuy5hpqWwAs0/qHaJUEhQfcLhS6LqBcfSZLef/Ea1iH1gODmp853ClKspvo4w3GZxfAXqsrYFjXvNiUOxeA6S/14GqaKYQxdRPwwT//198x5bHvHy9ntGf3Cz64SwUOEtq52aC/nzIxGBnmZqyoxTBHcpEVrDSOKWUWmIbI/RPpm2knwemPx24jreDllQRlpXyNS+3ZJbV+UsF7mjq/+GN6+ZlN5",
        "time": "2022-11-18T14:36:51+00:00",
        "traceId": "2560e00c27592a3e"
    }
}

3.4 Response example for Mobile ID Sign

{
    "id": "8fad23b8-8c51-480f-bafb-43660ae580c4",
    "state": "Finished",
    "errors": [],
    "cert": {},
    "signature": {
        "value": "xpRXuK9SF9GPrgO0jvK2FwSua6gUDiiSQ1XVi+9UpbIcpK50nw58zWoPCkP9Q5tlXU4/Ion9LwnXOG+La2lv3g==",
        "algorithm": "SHA384WithECEncryption"
    },
    "verificationResult": {},
    "smartIdDetails": {
        "$type": "SmartId.Gateway.MobileId.RestServices.Models.SessionResponseDto, SmartId.Gateway",
        "state": "COMPLETE",
        "result": "OK",
        "signature": {
            "value": "xpRXuK9SF9GPrgO0jvK2FwSua6gUDiiSQ1XVi+9UpbIcpK50nw58zWoPCkP9Q5tlXU4/Ion9LwnXOG+La2lv3g==",
            "algorithm": "SHA384WithECEncryption"
        },
        "time": "2022-11-18T14:43:19+00:00",
        "traceId": "662ed61b2e7b3107"
    }
}