toRsaOaepPrivateKey
suspend fun Jwk.Rsa.toRsaOaepPrivateKey(digest: CryptographyAlgorithmId<Digest>, cryptoProvider: CryptographyProvider = CryptographyProvider.Default): RSA.OAEP.PrivateKey(source)
Converts this Jwk.Rsa to an RSA.OAEP.PrivateKey for RSA-OAEP / RSA-OAEP-256 key decryption.
Return
the decoded RSA.OAEP.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