decodeToBooleanOrNull

fun Asn1Primitive.decodeToBooleanOrNull(assertTag: Asn1Element.Tag = Asn1Element.Tag.BOOL): Boolean?(source)

Exception-free version of decodeToBoolean