If you want to produce a Canonical-OER encoding, you can choose
to do so at runtime by invoking
setCanonicalMode(true)
on the encode
buffer. This is different from the approach used with some other
encoding rules, where the canonical variety of encoding is chosen
at compile-time using an ASN1C command line option.