decodeFromByteArray
open override fun <T> decodeFromByteArray(deserializer: DeserializationStrategy<T>, bytes: ByteArray): T(source)
Decodes bytes as DER using deserializer.
The configured 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.