signerFor

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>): <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

See also