IC卡参数公钥之 AID和RID
参考:ISO7816 维基百科EMV ISO7816下载地址
1.RID:注册标识符
由ISO组织来分配,标识一个全球唯一的应用提供商,一般是分配给卡组织,比如分配给Master,比如分配给银联,我们遵循的是PBOC规范,分配到的RID=A000000333
A000000003: Visa A000000004: MasterCard A000000065: JCB (Japan Credit Bureau)
拓展:RID 完整列表(截至2018)
2.AID( application identifier) 应用标识
由注册的应用提供商标识(RID)以及专用应用标识符扩展(PIX)组成
AID:即唯一标识一个应用,分为两部分,RID(5字节)+PIX(最多11字节)
拓展:AID完整列表
3.PIX:扩展应用标识符
一般是由应用提供商自己定义,比如我们银联定义的
借记应用的PIX=010101,
贷记应用的PIX=010102,
准贷记应用的PIX=010103,
纯电子现金应用的PIX=010106
即:
A0 00 00 03 33 01 01 01 PBOC借记应用
A0 00 00 03 33 01 01 02 PBOC贷记应用
A0 00 00 03 33 01 01 03 PBOC准贷记应用
A0 00 00 03 33 01 01 06 PBOC纯电子现金应用
4.IC卡公钥
常用AID RID:
卡组织 | RID | 应用 | PIX | AID |
---|---|---|---|---|
Danmønt (Denmark) | A000000001 | Cash card | 1010 | A0000000011010 |
Visa | A000000003 | Visa credit or debit | 1010 | A0000000031010 |
Visa Electron | 2010 | A0000000032010 | ||
V Pay | 2020 | A0000000032020 | ||
Plus | 8010 | A0000000038010 | ||
MasterCard | A000000004 | MasterCard credit or debit | 1010 | A0000000041010 |
MasterCard[4] | 9999 | A0000000049999 | ||
Maestro | 3060 | A0000000043060 | ||
Cirrus ATM card only | 6000 | A0000000046000 | ||
MasterCard | A000000005 | Maestro UK (formerly branded as Switch) | 0001 | A0000000050001 |
美国运通 | A000000025 | American Express | 01 | A00000002501 |
LINK ATM network | A000000029 | ATM card | 1010 | A0000000291010 |
CB (France) | A000000042 | CB (credit or debit card) | 1010 | A0000000421010 |
CB (Debit card only) | 2010 | A0000000422010 | ||
JCB | A000000065 | Japan Credit Bureau | 1010 | A0000000651010 |
Dankort (Denmark) | A000000121 | Debit card | 1010 | A0000001211010 |
Dankort (debit card) | 4711 | A0000001214711 | ||
Consorzio Bancomat (Italy) | A000000141 | Bancomat/PagoBancomat | 0001 | A0000001410001 |
大来国际/发现卡 | A000000152 | Diners Club/Discover | 3010 | A0000001523010 |
Banrisul (Brazil) | A000000154 | Banricompras Debito | 4442 | A0000001544442 |
SPAN2 (Saudi Arabia) | A000000228 | SPAN | 1010 | A00000022820101010 |
Interac (Canada) | A000000277 | Debit card | 1010 | A0000002771010 |
发现卡 | A000000324 | ZIP | 1010 | A0000003241010 |
银联 | A000000333 | 借记卡 | 010101 | A000000333010101 |
贷记卡 | 010102 | A000000333010102 | ||
准贷记卡 | 010103 | A000000333010103 | ||
电子现金 | 010106 | A000000333010106 | ||
ZKA (Germany) | A000000359 | Girocard | 1010028001 | A0000003591010028001 |
EAPS Bancomat (Italy) | A000000359 | PagoBancomat | 10100380 | A00000035910100380 |
Verve (Nigeria) | A000000371 | Verve | 0001 | A0000003710001 |
The Exchange Network ATM network | A000000439 | ATM card | 1010 | A0000004391010 |
RuPay (India) | A000000524 | RuPay | 1010 | A0000005241010 |
MIR (Russia) | A000000658 | MIR Debit | 2010 | A0000006582010 |
MIR Credit | 1010 | A0000006581010 | ||
Edenred | A000000436 | Ticket Restaurant (Belgium) | 0100 | A0000004360100 |
eftpos (Australia) | A000000384 | Savings (debit card) | 10 | A00000038410 |
Cheque (debit card) | 20 | A00000038420 | ||
GIM-UEMOA
|
A000000337 | Retrait | 01 000001 | A000000337301000 |
Standard | 01 000002 | A000000337101000 | ||
Classic | 01 000003 | A000000337102000 | ||
Prepaye Online | 01 000004 | A000000337101001 | ||
Prepaye Possibile Offline | 01 000005 | A000000337102001 | ||
Porte Monnaie Electronique | 01 000006 | A000000337601001 |