nss

How to enforce definite length encoding with CMS in NSS?

How to enforce definite length encoding with CMS in NSS? I am trying to get NSS's CMS encoder to encode with DER, but the folks as mozilla have apparently only worried about BER encoding (as far as I can tell.) I am able to get definite encoding with primitive types, but all constructed types have indefinite encoding. Code I am curren...