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
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
fun CryptoSignature.Companion.parseFromJca(input: ByteArray, algorithm: SignatureAlgorithm): CryptoSignature
In Java EC signatures are returned as DER-encoded, RSA signatures however are raw bytearrays
fun CryptoSignature.Companion.parseFromJca(input: ByteArray, algorithm: SpecializedSignatureAlgorithm): CryptoSignature