On Fri, Nov 05, 2010, Martin Bolet wrote: > I'm sorry, I was not precise here. Actually I think (have to verify it > again though) the encoding is preserved if I parse the > EncapContentInfo and reencode it later on without changing the > content. > > My problem was more the other way round: When creating an > EncapContentInfo from scratch, can I force to use indefinite length > instead of the DER definite length bytes? >
Well OpenSSL uses DER for almost everything so for most cases you can't use indefinite length encoding. An exception is when you stream content in OpenSSL 1.0.0: then the relevant structures use indefinite length constructed encoding. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org