ISO-7816-4 第 5 节文档的 Table 9 中的 "x"、“-”和“0”有什么区别
What is the difference between "x", "-" and "0" in Table 9 of the ISO-7816-4 Section 5 documentation
我正在阅读 ISO-7816 documentation 并且无法解释第 5.4.1 节下的 CLA 方案,Table 9:
b4 b3 b2 b1
Meaning
x x - -
Secure messaging (SM) Format
0 x - -
No SM or SM not according to 1.6
0 0 - -
No SM or no SM indication
0 1 - -
Proprietary SM format
目前我的理解是,如果CLA = 8X,那么上面的半字节代表了“X”可以呈现的各种形态。符号“x”(小写)和“-”表示该位置位的值是什么?更具体地说,“80”的 CLA 意味着什么? 0000 与 xxxx 或 ---- 有何不同?
More concretely, what would a CLA of "80" mean?
CLA=80 对应专有 class,因为“位 b8 设置为 1 表示专有 class”。 Table 在第 5.4.1 节中指定行业间 class,即第 8 位设置为 0。
What do the symbols "x" (lowercase) and "-" imply in terms of the value of the bit at that position?
您可以将标记 'x' 视为通配符(任何值),将“-”标记为“在这种情况下不使用位”,并将 0 和 1 作为位位置的精确值。所以,xx-- 只是一个位掩码。它告诉第 4 位和第 3 位指示命令中使用的 SM 格式,第 2 位和第 1 位用于不同的内容。
0x-- 可以是 00-- 或 01--.
第 2 位和第 1 位用 table 的另一行描述。
我正在阅读 ISO-7816 documentation 并且无法解释第 5.4.1 节下的 CLA 方案,Table 9:
b4 b3 b2 b1 | Meaning |
---|---|
x x - - | Secure messaging (SM) Format |
0 x - - | No SM or SM not according to 1.6 |
0 0 - - | No SM or no SM indication |
0 1 - - | Proprietary SM format |
目前我的理解是,如果CLA = 8X,那么上面的半字节代表了“X”可以呈现的各种形态。符号“x”(小写)和“-”表示该位置位的值是什么?更具体地说,“80”的 CLA 意味着什么? 0000 与 xxxx 或 ---- 有何不同?
More concretely, what would a CLA of "80" mean?
CLA=80 对应专有 class,因为“位 b8 设置为 1 表示专有 class”。 Table 在第 5.4.1 节中指定行业间 class,即第 8 位设置为 0。
What do the symbols "x" (lowercase) and "-" imply in terms of the value of the bit at that position?
您可以将标记 'x' 视为通配符(任何值),将“-”标记为“在这种情况下不使用位”,并将 0 和 1 作为位位置的精确值。所以,xx-- 只是一个位掩码。它告诉第 4 位和第 3 位指示命令中使用的 SM 格式,第 2 位和第 1 位用于不同的内容。
0x-- 可以是 00-- 或 01--.
第 2 位和第 1 位用 table 的另一行描述。