parseFromJca
fun CryptoSignature.Companion.parseFromJca(input: ByteArray, algorithm: SignatureAlgorithm): CryptoSignature(source)
In Java EC signatures are returned as DER-encoded, RSA signatures however are raw bytearrays
fun CryptoSignature.Companion.parseFromJca(input: ByteArray, algorithm: SpecializedSignatureAlgorithm): CryptoSignature(source)
fun CryptoSignature.RSAorHMAC.Companion.parseFromJca(input: ByteArray): CryptoSignature.RSAorHMAC(source)
fun CryptoSignature.EC.Companion.parseFromJca(input: ByteArray): CryptoSignature.EC.IndefiniteLength(source)
Parses a signature produced by the JCA digestwithECDSA algorithm.