diff --git a/Encryption/JoseEncryptor.cs b/Encryption/JoseEncryptor.cs index c2e02bf7d20fdb815208c144d33cf055330c9fac..192f9e144e0cc2ddc6b0912f774d1b96144d1a69 100644 --- a/Encryption/JoseEncryptor.cs +++ b/Encryption/JoseEncryptor.cs @@ -40,7 +40,7 @@ public class JoseEncryptor : IEncryptor { { "kid", jwk.KeyId }, { "cty", "application/json" } } - ); + ); } catch (PlatformNotSupportedException e) { throw new PlatformNotSupportedException(ErrorMessage, e); @@ -52,7 +52,8 @@ public class JoseEncryptor : IEncryptor { var jwk = Jwk.FromJson(key, new Jose.JsonMapper()); return JWE.EncryptBytes(plain, new JweRecipient[] { new JweRecipient(Algorithm, jwk) }, - Encryption, compression: Compression, + Encryption, + compression: Compression, mode: SerializationMode, extraProtectedHeaders: new Dictionary<string, object> { { "kid", jwk.KeyId },