File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Mastercard.Developer.ClientEncryption.Core/Encryption/JWE Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ internal class JweObject
11
11
{
12
12
private const string A128CBC_HS256 = "A128CBC-HS256" ;
13
13
private const string A256GCM = "A256GCM" ;
14
+ private const string A128GCM = "A128GCM" ;
15
+ private const string A192GCM = "A192GCM" ;
14
16
15
17
public JweHeader Header { get ; private set ; }
16
18
public string RawHeader { get ; private set ; }
@@ -35,6 +37,12 @@ public string Decrypt(JweConfig config)
35
37
case A256GCM :
36
38
plaintext = AesGcm . Decrypt ( unwrappedKey , this ) ;
37
39
break ;
40
+ case A128GCM :
41
+ plaintext = AesGcm . Decrypt ( unwrappedKey , this ) ;
42
+ break ;
43
+ case A192GCM :
44
+ plaintext = AesGcm . Decrypt ( unwrappedKey , this ) ;
45
+ break ;
38
46
case A128CBC_HS256 :
39
47
plaintext = AesCbc . Decrypt ( unwrappedKey , this ) ;
40
48
break ;
You can’t perform that action at this time.
0 commit comments