derEncoded

DER-encoded representation of this ASN.1 element.

NOT retained on structures: this base getter RE-ENCODES on every access (stack-safe — encodeTreeTo is an iterative walk that terminates at the cached leaf primitives). Only Asn1Primitive (true leaves, incl. raw OCTET STRINGs) overrides this to cache. This keeps retained memory ~O(input) and avoids the O(input²) blowup of deeply nested structures/OCTET STRINGs. Callers who want a stable buffer should hold onto the result themselves (the bytes are immutable).