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
open fun decodeFromDerSafe(src: ByteArray): KmmResult<CryptoPublicKey>

Safe version of decodeFromDer, wrapping the result into a KmmResult

Link copied to clipboard
open override fun decodeFromTlv(src: Asn1Sequence): CryptoPublicKey

Processes an A, parsing it into an instance of T

Link copied to clipboard

Exception-free version of decodeFromTlv

Link copied to clipboard

Safe version of decodeFromTlv, wrapping the result into a KmmResult

Link copied to clipboard

Parses a DID representation of a public key and reconstructs the corresponding CryptoPublicKey from it

Link copied to clipboard

Parses this key from an iOS-encoded one

Link copied to clipboard