Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这些编码在 ASN.1 INTEGER 类型中是否相同?
编码十进制 10
02 01 0A 02 02 00 0A 02 03 00 00 0A ...
我假设您使用的是 BER。INTEGER 的 BER 编码使用尽可能少的八位字节数。第二个和第三个编码是不正确的。
见 X.690 8.3