DerBuilder
Builder for DerConfiguration, used by DER { ... }.
encodeDefaults: include/exclude default-valued properties.
explicitNulls: encode
nullas ASN.1NULLor omit nullable values.serializersModule: module used for contextual/open-polymorphic serializers.
maxInputLength maximum allowed DER byte-array size. The default is platform-specific.
Properties
Maximum allowed DER byte-array size before parsing is refused.
Maximum structural nesting depth the typed encoder/decoder will descend before throwing a kotlinx.serialization.SerializationException, instead of overflowing the call stack on a deeply nested recursive @Serializable type. Defaults to 32 and can be raised to 65,536 when the runtime stack permits. See DerConfiguration.maxNestingDepth. This does not bound recursion inside custom serializers or Asn1Serializable.doDecode.