Functions

Link copied to clipboard

Convenience function to directly get the DER-encoded representation of the implementing object

Link copied to clipboard

Exception-free version of encodeToDer

Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>

Safe version of encodeToDer, wrapping the result into a KmmResult

Link copied to clipboard
abstract fun encodeToTlv(): A

Encodes the implementing object into an A

Link copied to clipboard
open fun encodeToTlvOrNull(): A?

Exception-free version of encodeToTlv

Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<A>

Safe version of encodeToTlv, wrapping the result into a KmmResult