signerFor
fun SignatureAlgorithm.signerFor(privateKey: CryptoPrivateKey.WithPublicKey<*>): KmmResult<Signer>(source)
Creates a signer for the specified privateKey. Fails if the key type does not match the signature algorithm type (EC/RSA)
fun SignatureAlgorithm.ECDSA.signerFor(privateKey: CryptoPrivateKey.EC.WithPublicKey): KmmResult<Signer.ECDSA>(source)
fun SignatureAlgorithm.RSA.signerFor(privateKey: CryptoPrivateKey.RSA): KmmResult<Signer.RSA>(source)
fun SignatureAlgorithm.signerFor( privateKey: CryptoPrivateKey.WithPublicKey<*>, configure: DSLConfigureFn<JvmEphemeralSignerCompatibleConfiguration>): <Error class: unknown class>(source)
Creates a signer for the specified privateKey. Fails if the key type does not match the signature algorithm type (EC/RSA) or if it has no public key attached This JVM-specific variant allows for optionally specifying a provider