encodeToDerSafe

open fun encodeToDerSafe(): KmmResult<ByteArray>(source)

Safe version of encodeToDer, wrapping the result into a KmmResult