toRsaPkcs1PrivateKey
suspend fun Jwk.Rsa.toRsaPkcs1PrivateKey(digest: CryptographyAlgorithmId<Digest>, cryptoProvider: CryptographyProvider = CryptographyProvider.Default): RSA.PKCS1.PrivateKey(source)
Converts this Jwk.Rsa to an RSA.PKCS1.PrivateKey for RS256/RS384/RS512 signing.
Return
the decoded RSA.PKCS1.PrivateKey
Parameters
digest
the cryptography-kotlin digest algorithm to associate with the key
cryptoProvider
the CryptographyProvider used to decode the key; defaults to CryptographyProvider.Default