Skip to content

My Number Drivers License (MyNa-Menkyo) Specification

1. System Overview

The "My Number Drivers License" (MyNa-Menkyo) records driver's license information in the expansion area of the My Number Card (Individual Number Card). It acts as a valid driver's license for public identification.

AIDs (Application Identifiers)

TypeAIDPIX
ELF-AIDA0 00 00 02 31 04 00 00 00 00 00 00 00 00 00 00Starts with 04
Executable Module AIDA0 00 00 02 31 05 00 00 00 00 00 00 00 00 00 00Starts with 05
Instance AIDA0 00 00 02 31 06 00 00 00 00 00 00 00 00 00 00Starts with 06

Standards: JIS X 6308 (ISO/IEC 7816-5).

2. File Structure (EFs)

File NameEF-IDTypeContentMax SizeAccess (Read/Write)
IEF0100 06IEFPIN (4 digits)4- / -
WEF0100 1AWEFPIN Setting3FREE / -
WEF0200 1BWEFLicense Information5845PIN / Forbidden
WEF0300 1CWEFElectronic Signature584PIN / -

Access Control Notes

  • PIN: 4 digits (numeric).
  • Retry Limit: 10 times.
  • Lockout: Requires resetting by Prefectural Public Safety Commission.

3. Data Content (WEF01: PIN Setting)

SFI: 00 1AEncoding: BER-TLV

Data Elements

TagLengthFormatDescription
C11HEXPIN Setting Status

Value:

  • 01 (Binary 00000001): PIN is set.
  • 00 (Binary 00000000): PIN is not set (No Verification required / treated as verified). Note: Bits 8-2 are always 0.

4. Data Content (WEF02: License and Driver History Information)

SFI: 00 1BEncoding: BER-TLV Hash Scope: All data in this file is covered by the Electronic Signature in WEF03.

Data Elements

TagLengthFormatGroupDescription
C270201HistoryDriver History Info Record Date (EraYYMMDD)
C31HEXHistoryDriver Category (Excellent/General/Violation)
C460208LicenseLicense Color (Gold/Blue/Green etc.)
C570201LicenseLicense Info Expiration Date (EraYYMMDD)
C6800208LicenseLicense Condition 1
C7800208LicenseLicense Condition 2
C8800208LicenseLicense Condition 3
C9800208LicenseLicense Condition 4
CA256-LicenseMissing Characters (Gaiji/Ketsuji) 1
CB256-LicenseMissing Characters (Gaiji/Ketsuji) 2
CC800208LicenseLicense Condition 5
CD800208LicenseLicense Condition 6
CE800208LicenseLicense Condition 7
CF800208LicenseLicense Condition 8
D0800208LicenseLicense Condition 9
D1800208LicenseLicense Condition 10
D2800208LicenseLicense Condition 11
D3800208LicenseLicense Condition 12
D4256-LicenseMissing Characters 3
D5256-LicenseMissing Characters 4
D6256-LicenseMissing Characters 5
D7800208CommonRemarks 1
D8800208CommonRemarks 2
D9800208CommonRemarks 3
DA800208CommonRemarks 4
DB800208CommonRemarks 5
DC800208CommonRemarks 6
DD800208CommonRemarks 7
DE800208CommonRemarks 8
DF800208LicenseSpare 1
E0800208LicenseSpare 2
E1800208LicenseSpare 3
E2800208LicenseSpare 4
E3800208LicenseSpare 5
E4800208LicenseSpare 6
E5800208LicenseSpare 7
E6800208LicenseSpare 8
E7120201LicenseLicense Information Record Number
E8120201HistoryDriver History Information Record Number
E970201CommonLicense Date: Motorcycle / Small Special / Moped
EA70201CommonLicense Date: Others
EB70201CommonLicense Date: Class 2 (Commercial)
EC1HEXCommonLicense Type: Large (大型)
ED1HEXCommonLicense Type: Ordinary (普通)
EE1HEXCommonLicense Type: Large Special (大特)
EF1HEXCommonLicense Type: Large Motorcycle (大自二)
F01HEXCommonLicense Type: Ordinary Motorcycle (普自二)
F11HEXCommonLicense Type: Small Special (小特)
F21HEXCommonLicense Type: Moped (原付)
F31HEXCommonLicense Type: Towing (け引)
F41HEXCommonLicense Type: Large Class 2 (大二)
F51HEXCommonLicense Type: Ordinary Class 2 (普二)
F61HEXCommonLicense Type: Large Special Class 2 (大特二)
F71HEXCommonLicense Type: Towing Class 2 (け引二)
F81HEXCommonLicense Type: Medium (中型)
F91HEXCommonLicense Type: Medium Class 2 (中二)
FA1HEXCommonLicense Type: Semi-Medium (準中型)
FB7-CommonRFU 1
FC7-CommonRFU 2
FD7-CommonRFU 3
FE7-CommonRFU 4
FF7-CommonRFU 5
1007-CommonRFU 6
1017-CommonRFU 7
1027-CommonRFU 8
1037-CommonRFU 9
1047-CommonRFU 10
1057-CommonRFU 11
1067-CommonRFU 12
1072000JPEG2000CommonFace Photo (Monochrome)

Note: All Date formats are "Era (1 byte) + YYMMDD (6 bytes)". Era: 1=Meiji, 2=Taisho, 3=Showa, 4=Heisei, 5=Reiwa.

4. Electronic Signature (WEF03: Signature)

SFI: 00 1C
Encoding: BER-TLV

Contains the digital signature generated over the entire content of WEF02.

Data Elements

TagLengthFormatDescription
108256BINARYSignature Value
109160201Serial Number
10A480201RFU
10B800201Issuer Name
10C1300201Subject Name
10D32BINARYSubject Key Identifier

Algorithm

  • Hash: SHA-256 (over all data in WEF02, in stored order).
  • Signature: RSA-2048.
  • Padding: PKCS #1 Version 1.5.

5. Command Reference

SELECT FILE

  • CLA: 00
  • INS: A4
  • P1: 04 (Select by AID)
  • P2: 0C
  • Data: A0 00 00 02 31 06 00 00 00 00 00 00 00 00 00 00 (Instance AID)

VERIFY (PIN)

  • CLA: 00
  • INS: 20
  • P1: 00
  • P2: 82 (Specific to this AP)
  • Data: 4-digit PIN (ASCII)

READ BINARY

  • CLA: 00
  • INS: B0
  • P1: 8x (EF-ID MSB or 00)
  • P2: xx (EF-ID LSB or Offset)

6. Reference

Released under the MIT License.