Skip to content

Commit 0d04b48

Browse files
committed
Add Latvia Cosmo X card support
WE2-1127 Signed-off-by: Raul Metsma <[email protected]>
1 parent e7490d0 commit 0d04b48

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/electronic-id.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ constexpr auto constructor(const Reader& /*reader*/)
5353

5454
// Supported cards.
5555
const std::map<byte_vector, ElectronicIDConstructor, VectorComparator> SUPPORTED_ATRS {
56-
// EstEID Idemia v1.0
56+
// EstEID Idemia Cosmo 8.1/8.2
5757
{{0x3b, 0xdb, 0x96, 0x00, 0x80, 0xb1, 0xfe, 0x45, 0x1f, 0x83, 0x00,
5858
0x12, 0x23, 0x3f, 0x53, 0x65, 0x49, 0x44, 0x0f, 0x90, 0x00, 0xf1},
5959
constructor<EstEIDIDEMIAV1>},
60-
// EstEID Idemia v2.0
60+
// EstEID Idemia Cosmo X
6161
{{0x3b, 0xdc, 0x96, 0x00, 0x80, 0xb1, 0xfe, 0x45, 0x1f, 0x83, 0x00, 0x12,
6262
0x23, 0x3f, 0x54, 0x65, 0x49, 0x44, 0x32, 0x0f, 0x90, 0x00, 0xc3},
6363
constructor<EstEIDIDEMIAV1>},
@@ -77,10 +77,14 @@ const std::map<byte_vector, ElectronicIDConstructor, VectorComparator> SUPPORTED
7777
{{0x3B, 0x7F, 0x96, 0x00, 0x00, 0x80, 0x31, 0xB8, 0x65, 0xB0,
7878
0x85, 0x05, 0x00, 0x11, 0x12, 0x24, 0x60, 0x82, 0x90, 0x00},
7979
constructor<FinEIDv4>},
80-
// LatEID Idemia v2.0
80+
// LatEID Idemia Cosmo 8.1/8.2
8181
{{0x3b, 0xdb, 0x96, 0x00, 0x80, 0xb1, 0xfe, 0x45, 0x1f, 0x83, 0x00,
8282
0x12, 0x42, 0x8f, 0x53, 0x65, 0x49, 0x44, 0x0f, 0x90, 0x00, 0x20},
8383
constructor<LatEIDIDEMIAV2>},
84+
// LatEID Idemia Cosmo X
85+
{{0x3b, 0xdc, 0x96, 0x00, 0x80, 0xb1, 0xfe, 0x45, 0x1f, 0x83, 0x00, 0x12,
86+
0x42, 0x8f, 0x54, 0x65, 0x49, 0x44, 0x32, 0x0f, 0x90, 0x00, 0x12},
87+
constructor<LatEIDIDEMIAV2>},
8488
// LitEID
8589
{{0x3B, 0x9D, 0x18, 0x81, 0x31, 0xFC, 0x35, 0x80, 0x31, 0xC0, 0x69,
8690
0x4D, 0x54, 0x43, 0x4F, 0x53, 0x73, 0x02, 0x05, 0x05, 0xD3},

0 commit comments

Comments
 (0)