decodeFromDer

fun <A : Asn1Element, T : Asn1Encodable<A>> Asn1Decodable<A, T>.decodeFromDer(src: Source<*>, limit: Long?, assertTag: Asn1Element.Tag? = null): T(source)

Decodes src as DER using this Asn1Decodable.

Parameters

limit

the maximum allowed total number of encoded DER bytes to consume. This limit is enforced before reading or peeking from the underlying source.