Companion
Functions
Decodes a Asn1Integer from bytes assuming the same encoding as the Asn1Primitive.content property of an Asn1Primitive containing an ASN.1 INTEGER
Convenience method, directly DER-decoding a byte array to T
Exception-free version of decodeFromDer
Safe version of decodeFromDer, wrapping the result into a KmmResult
Exception-free version of decodeFromTlv
Safe version of decodeFromTlv, wrapping the result into a KmmResult
Actual element-specific decoding function. By default, this is invoked after verifyTag
Constructs an Asn1Integer from its sign-magnitude representation
Constructs an Asn1Integer from a decimal string
Constructs an Asn1Integer from its twos-complement byte representation
Constructs a non-negative Asn1Integer from its unsigned magnitude representation
Specify assertTag for verifying implicitly tagged elements' tags (and better not override this function).