decodeFromDer
fun <A : Asn1Element, T : Asn1Encodable<A>> Asn1Decodable<A, T>.decodeFromDer(src: ByteArray, limit: Long = src.size.toLong(), assertTag: Asn1Element.Tag? = null): T(source)
Convenience method, directly DER-decoding a byte array to T
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.
Throws
if invalid data is provided