Companion
Functions
Link copied to clipboard
Convenience method, directly DER-decoding a byte array to T
Link copied to clipboard
Exception-free version of decodeFromDer
Link copied to clipboard
Safe version of decodeFromDer, wrapping the result into a KmmResult
Link copied to clipboard
Link copied to clipboard
Exception-free version of decodeFromTlv
Link copied to clipboard
open fun decodeFromTlvSafe(src: Asn1Primitive, assertTag: Asn1Element.Tag? = null): KmmResult<Asn1Time>
Safe version of decodeFromTlv, wrapping the result into a KmmResult
Link copied to clipboard
Actual element-specific decoding function. By default, this is invoked after verifyTag
Link copied to clipboard
Specify assertTag for verifying implicitly tagged elements' tags (and better not override this function).