decodeToBigInteger

fun Asn1Primitive.decodeToBigInteger(assertTag: Asn1Element.Tag = Asn1Element.Tag.INT): BigInteger(source)

Decode the Asn1Primitive as a BigInteger. assertTag defaults to Asn1Element.Tag.INT, but can be overridden (for implicitly tagged integers, for example)

Throws

on invalid input