toEcdsaPrivateKey
suspend fun Jwk.Ec.toEcdsaPrivateKey(cryptoProvider: CryptographyProvider = CryptographyProvider.Default): ECDSA.PrivateKey(source)
Converts this Jwk.Ec to an ECDSA.PrivateKey for ES256/ES384/ES512 signing.
Return
the decoded ECDSA.PrivateKey
Parameters
cryptoProvider
the CryptographyProvider used to decode the key; defaults to CryptographyProvider.Default