toRsaPssPublicKey

suspend fun Jwk.Rsa.toRsaPssPublicKey(digest: CryptographyAlgorithmId<Digest>, cryptoProvider: CryptographyProvider = CryptographyProvider.Default): RSA.PSS.PublicKey(source)

Converts this Jwk.Rsa to an RSA.PSS.PublicKey for PS256/PS384/PS512 signature verification.

Return

the decoded RSA.PSS.PublicKey

Parameters

digest

the cryptography-kotlin digest algorithm to associate with the key

cryptoProvider

the CryptographyProvider used to decode the key; defaults to CryptographyProvider.Default