toJsonWebKey
fun SymmetricKey<*, *, *>.toJsonWebKey(keyId: String? = this.jwkId, vararg includedOps: String): KmmResult<JsonWebKey>(source)
Converts this symmetric key to a JsonWebKey. algorithm may be null for algorithms, which do not directly correspond to a valid JWA alg
identifier but will still be encoded.
Allowed key operations can be restricted by specifying includedOps
Converts a CryptoPublicKey to a JsonWebKey
Converts a at.asitplus.signum.indispensable.symmetric.SymmetricKey to a JsonWebKey