DER is a legal encoding when BER is called for. BER is not required to
be indefinite length encoding.
jim
-----Original Message-----
From: owner-ietf-smime(_at_)mail(_dot_)imc(_dot_)org
[mailto:owner-ietf-smime(_at_)mail(_dot_)imc(_dot_)org] On Behalf Of Deepak
Sent: Thursday, August 14, 2003 9:29 AM
To: ietf-smime(_at_)imc(_dot_)org
Subject: Query regarding BER/DER encoding of CMS data
Hi,
When i go through the CMS RFC's its saying, all the
contenttype(SignedData,EnvelopedData) should be BER
encoded. But when i go thorugh the some of the ietf
examples, especially in EnvelopedData->RecipientInfo
is encoded by DER.(its starting with 31 82 ..). It
should be like sequence 30 80 .. ?
Could you please explain why was it happend ?
Thanks,
Deepak
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design
software http://sitebuilder.yahoo.com