DerConfiguration
data class DerConfiguration(val encodeDefaults: Boolean = true, val explicitNulls: Boolean = false, val maxInputLength: Long = UInt.MAX_VALUE.toLong(), val serializersModule: SerializersModule = EmptySerializersModule())(source)
DER format options.
Properties
Link copied to clipboard
if true, default-valued properties are encoded. If false, default-valued properties are omitted.
Link copied to clipboard
if true, nullable properties are encoded as ASN.1 NULL by default. If false, nullable null values are omitted by default. exactly as originally decoded.
Link copied to clipboard
maximum allowed total number of encoded DER bytes to consume before refusing to parse and throwing. This limit is enforced before reading or peeking from the underlying source. Defaults to UInt.MAX_VALUE.
Link copied to clipboard
serializers used for contextual/open-polymorphic resolution.