to Jwe Kw Algorithm
fun SymmetricEncryptionAlgorithm<*, *, *>.toJweKwAlgorithm(): KmmResult<JweAlgorithm.Symmetric>(source)
Tries to map this algorithm to a matching JsonWebAlgorithm for key wrapping. Mappings exist for the following algorithms (as others are not direct mappings of symmetric algorithms):
SymmetricEncryptionAlgorithm.AES.GCM
SymmetricEncryptionAlgorithm.AES.WRAP
Return
null if no mapping exists