decodeFromSource
Decodes a DER value from source using the inferred deserializer for T.
The configured at.asitplus.awesn1.serialization.DerConfiguration.maxInputLength is the maximum allowed total number of encoded DER bytes to consume. This limit is enforced before reading or peeking from the underlying source.
Throws
SerializationException
if the input does not parse as DER or violates descriptor/tag/nullability constraints.
Decodes a DER value from source using deserializer.
The configured at.asitplus.awesn1.serialization.DerConfiguration.maxInputLength is the maximum allowed total number of encoded DER bytes to consume. This limit is enforced before reading or peeking from the underlying source.
Throws
SerializationException
if the input does not parse as DER or violates descriptor/tag/nullability constraints.