You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@
19
19
*[Loading the Encryption Certificate](#loading-the-encryption-certificate)
20
20
*[Loading the Decryption Key](#loading-the-decryption-key)
21
21
*[Performing Payload Encryption and Decryption](#performing-payload-encryption-and-decryption)
22
+
*[JWE Encryption and Decryption](#jwe-encryption-and-decryption)
23
+
*[Mastercard Encryption and Decryption](#mastercard-encryption-and-decryption)
22
24
*[Integrating with OpenAPI Generator API Client Libraries](#integrating-with-openapi-generator-api-client-libraries)
23
25
24
26
## Overview <aname="overview"></a>
@@ -121,11 +123,11 @@ Supported RSA key formats:
121
123
122
124
+[Introduction](#introduction)
123
125
+[JWE Encryption and Decryption](#jwe-encryption-and-decryption)
124
-
+[Field Level Encryption and Decryption](#field-level-encryption-and-decryption)
126
+
+[Mastercard Encryption and Decryption](#mastercard-encryption-and-decryption)
125
127
126
128
#### Introduction <aname="introduction"></a>
127
129
128
-
This library supports 2 different types of encryption/decryption. Field level encryption (scheme designed before JWE was introduced) and JWE encryption.
130
+
This library supports two types of encryption/decryption, both of which support field level and entire payload encryption: JWE encryption and what the library refers to as Field Level Encryption (Mastercard encryption), a scheme used by many services hosted on Mastercard Developers before the library added support for JWE.
129
131
130
132
#### JWE Encryption and Decryption <aname="jwe-encryption-and-decryption"></a>
131
133
@@ -291,18 +293,18 @@ Output:
291
293
}
292
294
```
293
295
294
-
#### Field Level Encryption and Decryption <aname="field-level-encryption-and-decryption"></a>
296
+
#### Mastercard Encryption and Decryption <aname="mastercard-encryption-and-decryption"></a>
295
297
296
-
+[Introduction](#fle-introduction)
297
-
+[Configuring the Field Level Encryption](#configuring-the-field-level-encryption)
298
-
+[Performing Field Level Encryption](#performing-field-level-encryption)
299
-
+[Performing Field Level Decryption](#performing-field-level-decryption)
*[FieldLevelEncryptionConfig.java](https://www.javadoc.io/page/com.mastercard.developer/client-encryption/latest/com/mastercard/developer/encryption/FieldLevelEncryptionConfig.html) for all config options
337
339
*[Service Configurations for Client Encryption Java](https://github.com/Mastercard/client-encryption-java/wiki/Service-Configurations-for-Client-Encryption-Java)
338
340
339
-
#### Performing Field Level Encryption <aname="performing-field-level-encryption"></a>
0 commit comments