青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Michael's Space

Technology changes the world, serves the people.
  C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

DDA 過程解析

Posted on 2006-05-03 23:22 奔跑的阿甘 閱讀(1418) 評論(0)  編輯 收藏 引用 所屬分類: ATM Technology/EMV Notes
DDA(Dynamic data authentication) is performed by the terminal using a digital signature
scheme based on public key techniques to authenticate the ICC, and confirm the
legitimacy of critical ICC-resident/generated data and data received from the
terminal. This precludes the counterfeiting of any such card.

DDA的思路是把每個CERTIFICATE作為輸入通過指定的算法進行還原(RECOVER),對還原
后的結果數據進行逐項地校驗,若有任何一項不滿足則DDA失敗,當且僅當所有的項目都通過
后DDA才成功。

一 ICC必須包含的數據
a) Certification Authority Public Key Index
b) Issuer Public Key Certificate
c) ICC Public Key Certificate
d) Issuer Public Key Remainder
e) Issuer Public Key Exponent
f) ?ICC Public Key Remainder
g) ICC Public Key Exponent
h) ICC Private Key : An ICC internal variable-length data element used to
generate the Signed Dynamic Application Data.
i)? Signed Dynamic Application Data: A variable-length data element generated by
the ICC using the private key that corresponds to the public key authenticated
in the ICC Public Key Certificate. It is a digital signature covering critical ICCresident/
generated and terminal data elements,

二 Terminal應保存數據:
a) Six CA public keys per RID(Registered Application Provider Identifier)
b) Key-related information for each CA public key
c) Corresponding algorithm

三 DDA的執行過程按次序分為四個步驟,任何一個步驟若出現異常則DDA失敗,只有所有
步驟都完成后DDA才成功:

a) Retrieval of the Certification Authority Public Key
The terminal reads the Certification Authority Public Key Index. Using this index
and the RID, the terminal can identify and retrieve the terminal-stored
Certification Authority Public Key Modulus and Exponent and the associated keyrelated
information, and the corresponding algorithm to be used. If the terminal
does not have the key stored associated with this index and RID, dynamic data
authentication has failed
.

b) Retrieval of the Issuer Public Key
1. If the Issuer Public Key Certificate has a length different from the length of the
Certification Authority Public Key Modulus obtained in the previous section,
dynamic data authentication has failed.
2. In order to obtain the recovered data specified in Table 9, apply the recovery
function specified in Annex A2.1 on the Issuer Public Key Certificate using the
Certification Authority Public Key in conjunction with the corresponding
algorithm. If the Recovered Data Trailer is not equal to ‘BC’, dynamic data
authentication has failed
.
3. Check the Recovered Data Header. If it is not ‘6A’, dynamic data authentication
has failed
.
4. Check the Certificate Format. If it is not ‘02’, dynamic data authentication has
failed
.
5. Concatenate from left to right the second to the tenth data elements in Table 9
(that is, Certificate Format through Issuer Public Key or Leftmost Digits of the
Issuer Public Key), followed by the Issuer Public Key Remainder (if present) and
finally the Issuer Public Key Exponent.
6. Apply the indicated hash algorithm (derived from the Hash Algorithm Indicator)
to the result of the concatenation of the previous step to produce the hash result.
7. Compare the calculated hash result from the previous step with the recovered
Hash Result. If they are not the same, dynamic data authentication has failed.
8. Verify that the Issuer Identification Number matches the leftmost 3-8 PAN digits
(allowing for the possible padding of the Issuer Identification Number with
hexadecimal ‘F’s). If not, dynamic data authentication has failed.
9. Verify that the last day of the month specified in the Certificate Expiration Date
is equal to or later than today's date. If the Certificate Expiration Date is earlier
than today's date, the certificate has expired, in which case dynamic data
authentication has failed.

10.Verify that the concatenation of RID, Certification Public Key Index, and
Certificate Serial Number is valid. If not, dynamic data authentication has
failed
.
11.If the Issuer Public Key Algorithm Indicator is not recognised, dynamic data
authentication has failed
.
12.If all the checks above are correct, concatenate the Leftmost Digits of the Issuer
Public Key and the Issuer Public Key Remainder (if present) to obtain the Issuer
Public Key Modulus, and continue with the next steps for the retrieval of the ICC
Public Key.

c) Retrieval of the ICC Public Key
1. If the ICC Public Key Certificate has a length different from the length of the
Issuer Public Key Modulus obtained in the previous section, dynamic data
authentication has failed
.
2. In order to obtain the recovered data specified in Table 10, apply the recovery
function specified in Annex A2.1 on the ICC Public Key Certificate using the
Issuer Public Key in conjunction with the corresponding algorithm. If the
Recovered Data Trailer is not equal to ‘BC’, dynamic data authentication has
failed
.
3. Check the Recovered Data Header. If it is not ‘6A’, dynamic data authentication
has failed.

4. Check the Certificate Format. If it is not ‘04’, dynamic data authentication has
failed
.
5. Concatenate from left to right the second to the tenth data elements in Table 10
(that is, Certificate Format through ICC Public Key or Leftmost Digits of the ICC
Public Key), followed by the ICC Public Key Remainder (if present), the ICC
Public Key Exponent and finally the static data to be authenticated specified in
Part II of Book 3 of these specifications. If the Static Data Authentication Tag
List is present and contains tags other than ‘82’, then dynamic data
authentication has failed
.
6. Apply the indicated hash algorithm (derived from the Hash Algorithm Indicator)
to the result of the concatenation of the previous step to produce the hash result.
7. Compare the calculated hash result from the previous step with the recovered
Hash Result. If they are not the same, dynamic data authentication has failed.
8. Check if the recovered PAN is equal to the Application PAN, read from the ICC.
If not, dynamic data authentication has failed.
9. Verify that the last day of the month specified in the Certificate Expiration Date
is equal to or later than today's date. If not, dynamic data authentication has
failed
.
10.If the ICC Public Key Algorithm Indicator is not recognised, dynamic data
authentication has failed
.
11.If all the checks above are correct, concatenate the Leftmost Digits of the ICC
Public Key and the ICC Public Key Remainder (if present) to obtain the ICC
Public Key Modulus, and continue with the actual dynamic data authentication
described in the two sections below.
d) Dynamic Data Authentication
分為STANDARD和COMBINED兩種方式。
d.1 Standard Dynamic Data Authentication
d.1.1. Dynamic Signature Generation

Terminal向ICC發送一個INTERNAL AUTHENTICATE命令并附帶DDOL中定義的數據(
稱為Terminal Dynamic Data)。
ICC對Terminal Dynamic Data重新組合及格式化處理后生成Dynamic Application Data。
ICC對Dynamic Application Data用自己的私鑰和相應算法進行簽名,最終生成
Signed Dynamic Application Data.

d.1.2. Dynamic Signature Verification
接下來的過程和SDA類似。
1. If the Signed Dynamic Application Data has a length different from the length of
the ICC Public Key Modulus, dynamic data authentication has failed.
2. To obtain the recovered data specified in Table 13, apply the recovery function
specified in Annex A2.1 on the Signed Dynamic Application Data using the ICC
Public Key in conjunction with the corresponding algorithm. If the Recovered
Data Trailer is not equal to ‘BC’, dynamic data authentication has failed.
3. Check the Recovered Data Header. If it is not ‘6A’, dynamic data authentication
has failed.

4. Check the Signed Data Format. If it is not ‘05’, dynamic data authentication has
failed
.
5. Concatenate from left to right the second to the sixth data elements in Table 13
(that is, Signed Data Format through Pad Pattern), followed by the data
elements specified by the DDOL.
6. Apply the indicated hash algorithm (derived from the Hash Algorithm Indicator)
to the result of the concatenation of the previous step to produce the hash result.
7. Compare the calculated hash result from the previous step with the recovered
Hash Result. If they are not the same, dynamic data authentication has failed.

If all the above steps were executed successfully, dynamic data authentication was
successful
. The ICC Dynamic Number contained in the ICC Dynamic Data
recovered in Table 13 shall be stored in Tag ‘9F4C’.
d.2 Combined Dynamic Data Authentication/Application Cryptogram Generation
和d.1一樣需要Signature creation和verification兩步,不同的是在creation中,d.2需要
Cryptogram Information?Data object參與組成 ICC Dynamic Data,進而格式化成相應
的Dynamic Application Data,然后用其私鑰和算法進行簽名,形成Signed Dynamic
Application Data.
Verification過程同d.1類似。
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            国产日韩精品一区二区| 欧美一级视频精品观看| 欧美sm重口味系列视频在线观看| 午夜精品久久久久久久久久久| 亚洲美女视频在线观看| 亚洲激情亚洲| 欧美 日韩 国产在线| 欧美在线综合视频| 久久综合五月天婷婷伊人| 免费视频久久| 欧美激情精品久久久久久黑人 | 久久嫩草精品久久久久| 欧美专区日韩专区| 免费成人黄色av| 亚洲高清不卡在线| 日韩亚洲欧美精品| 久久精品日产第一区二区三区| 久久综合影视| 国产精品视频免费观看| 激情成人在线视频| 亚洲天堂免费在线观看视频| 久久嫩草精品久久久久| 一区二区欧美国产| 免费在线亚洲欧美| 国产欧美一区二区三区视频 | 久久国产精品99国产| 久久久久成人网| 国产精品成人久久久久| 亚洲国产一区视频| 久久精品最新地址| 宅男精品视频| 欧美高清在线| 黄色国产精品| 欧美一区二区高清| 亚洲精品美女久久久久| 久久久91精品国产| 久久精品91久久香蕉加勒比 | 激情伊人五月天久久综合| 99在线热播精品免费| 亚洲视频福利| 欧美精品久久久久久久免费观看| 国产日本欧美在线观看| 亚洲视频播放| 亚洲国内自拍| 久久婷婷久久| 黄色成人片子| 久久久精品性| 欧美伊人久久| 国产在线播放一区二区三区| 性欧美在线看片a免费观看| 日韩午夜黄色| 欧美日韩一区二区在线观看| 亚洲黄色影片| 亚洲国产成人av在线| 91久久中文字幕| 一本色道久久综合亚洲精品高清| 久久伊人亚洲| 韩国福利一区| 久久一综合视频| 久久激情五月丁香伊人| 国产啪精品视频| 久久精彩免费视频| 篠田优中文在线播放第一区| 国产免费成人av| 久久精品理论片| 欧美专区在线| 亚洲高清视频中文字幕| 欧美激情在线免费观看| 欧美成人午夜影院| 99精品黄色片免费大全| 亚洲私人影院| 国产亚洲欧洲| 欧美激情影院| 国产精品久久久免费| 欧美一区二区三区四区在线观看| 亚洲欧美在线一区| 在线免费精品视频| 亚洲精品欧美精品| 国产精品地址| 久热综合在线亚洲精品| 欧美电影免费观看网站| 国产精品99久久久久久久女警 | 国产区欧美区日韩区| 久久久噜噜噜久久狠狠50岁| 久久精品久久综合| 亚洲精品午夜| 亚洲午夜极品| 在线观看不卡| 在线视频免费在线观看一区二区| 国产精品一级二级三级| 欧美成人精品1314www| 免费久久99精品国产| 免费亚洲电影在线| 欧美伦理在线观看| 欧美在线高清视频| 免费亚洲一区| 性高湖久久久久久久久| 美女视频黄a大片欧美| 亚洲一区二区在线| 美女网站久久| 欧美一区午夜精品| 欧美福利视频网站| 欧美自拍偷拍午夜视频| 欧美激情第8页| 久久久久久夜精品精品免费| 欧美激情亚洲国产| 久久嫩草精品久久久精品一| 欧美日韩在线免费| 免费中文日韩| 国产日韩精品入口| 亚洲视频一区二区在线观看 | 亚洲人成网站色ww在线| 国产女人精品视频| 亚洲精品在线视频观看| 国内精品久久久久久久影视蜜臀 | 亚洲无亚洲人成网站77777 | 欧美成人按摩| 久久久噜噜噜久久久| 欧美先锋影音| 亚洲日本欧美日韩高观看| 伊人久久亚洲影院| 欧美伊人久久久久久午夜久久久久 | 老司机成人网| 久久久久久久久岛国免费| 国产精品区一区二区三| 亚洲毛片一区二区| 日韩视频免费观看高清完整版| 久久精品72免费观看| 久久国产免费看| 国产人成精品一区二区三| 亚洲视频你懂的| 亚洲欧美一区在线| 国产精品你懂的| 亚洲一区二区精品视频| 亚洲天堂成人| 国产精品免费网站| 亚洲免费在线看| 欧美在线国产| 国产一区二区三区在线观看免费| 亚洲一区二区伦理| 久久福利毛片| 在线观看日韩www视频免费 | 亚洲国产人成综合网站| 极品少妇一区二区| 久久尤物视频| 亚洲精品乱码久久久久久黑人 | 久久久久久网址| 久久夜色精品国产欧美乱极品 | 中文国产亚洲喷潮| 欧美色欧美亚洲高清在线视频| 99国产精品一区| 西瓜成人精品人成网站| 国产一区二区三区电影在线观看 | 欧美二区在线看| 亚洲人成网站在线观看播放| 欧美国产日韩一区二区在线观看| 亚洲欧洲在线视频| 午夜亚洲一区| 亚洲国产精品成人久久综合一区| 女仆av观看一区| 在线视频日韩| 美女91精品| 亚洲伊人一本大道中文字幕| 国产原创一区二区| 欧美成人嫩草网站| 亚洲欧美怡红院| 噜噜噜噜噜久久久久久91| aa级大片欧美| 国产欧美日韩一区二区三区在线观看| 亚洲午夜国产成人av电影男同| 久久爱www| 在线观看亚洲精品视频| 欧美国产综合视频| 亚洲欧美综合| 亚洲精品久久久久| 久久免费精品日本久久中文字幕| 亚洲精品免费在线观看| 国产欧美短视频| 欧美精品二区| 久久精品视频播放| 亚洲午夜极品| 亚洲黄色三级| 久久综合网hezyo| 香蕉久久夜色| 亚洲精品视频在线| 韩国女主播一区| 国产精品久久久久久久免费软件| 久久久亚洲成人| 亚洲一区二区三区免费在线观看| 国产精品美女久久久久久2018| 亚洲经典三级| 欧美在线亚洲综合一区| 欧美一区二区三区免费观看| 99在线热播精品免费99热| 久久九九免费| 毛片一区二区| 亚洲一区二区三区在线观看视频| 国产午夜精品视频免费不卡69堂| 欧美成人午夜| 欧美亚洲网站|