toSymmetricKey

open override fun toSymmetricKey(): KmmResult<SymmetricKey<*, *, *>>(source)

Transforms this JsonWebKey into a SymmetricKey if an algorithm mapping exists. Note: for JweEncryption, see JweEncryption.symmetricKeyFromJsonWebKeyBytes. Supported algorithms are: