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.signerFor(privateKey: CryptoPrivateKey.WithPublicKey<*>, configure: DSLConfigureFn<JvmEphemeralSignerCompatibleConfiguration>): KmmResult<Signer>(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