Companion
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun decodeFromTlvSafe(src: Asn1Element, assertTag: Asn1Element.Tag?): KmmResult<CryptoSignature>
Link copied to clipboard
Link copied to clipboard
fun CryptoSignature.Companion.fromX509Encoded(alg: X509SignatureAlgorithm, it: Asn1Primitive): CryptoSignature
Decode a X.509-encoded signature
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
Link copied to clipboard