You should not implement ASN.1, (unless that is explicitly your goal). Rather, most ASN.1 users find a library and use the library. (in my experience, any library that is good also costs serious money).
I would not use ASN.1 unless you need to. Interoperating with something that already specifies ASN.1 is a good reason to use it. (example: I think that Kerberos transactions are encoded in ASN.1) Otherwise, I'd look at any other format, such as XML or JSON.
发布评论
评论(1)
您不应该实施 ASN.1(除非这是您明确的目标)。
相反,大多数 ASN.1 用户会找到一个库并使用该库。
(根据我的经验,任何好的图书馆也需要花费很多钱)。
除非您需要,否则我不会使用 ASN.1。与已指定 ASN.1 的内容进行互操作是使用它的一个很好的理由。 (例如:我认为 Kerberos 事务是用 ASN.1 编码的)否则,我会考虑任何其他格式,例如 XML 或 JSON。
You should not implement ASN.1, (unless that is explicitly your goal).
Rather, most ASN.1 users find a library and use the library.
(in my experience, any library that is good also costs serious money).
I would not use ASN.1 unless you need to. Interoperating with something that already specifies ASN.1 is a good reason to use it. (example: I think that Kerberos transactions are encoded in ASN.1) Otherwise, I'd look at any other format, such as XML or JSON.