Re: DER encoding in RFC 3161
Peter Gutmann <[email protected]>
| Newsgroups | gmane.ietf.x509 |
|---|---|
| Message-ID | <[email protected]> |
Phillip Hallam-Baker <[email protected]> writes: >It is sufficiently possible that there are ASN.1 parsers there that insist on >strict DER with definite length encoding throughout Highly unlikely, since too many things would break if you did this, the last parser I know of that did this was in the mid-1990s. The rule has always been "take whatever blob the other side sends you and use that", thus my long ago comment that "there is only one encoding rule and that is memcpy()". So in practice you don't need to worry about it. I mean, in theory you should, but in practice you don't. Peter.