Skip to content

Commit a2622e3

Browse files
Cleaning up README file
1 parent 7c854f0 commit a2622e3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* [Loading the Encryption Certificate](#loading-the-encryption-certificate)
2020
* [Loading the Decryption Key](#loading-the-decryption-key)
2121
* [Performing Encryption and Decryption](#performing-encryption-and-decryption)
22-
* [Integrating with OpenAPI Generator API Client Libraries](#integrating-with-openapi-generator-api-client-libraries) // Make Generic
22+
* [Integrating with OpenAPI Generator API Client Libraries](#integrating-with-openapi-generator-api-client-libraries)
2323

2424
## Overview <a name="overview"></a>
2525
Library for Mastercard API compliant payload encryption/decryption.
@@ -126,7 +126,7 @@ Supported RSA key formats:
126126

127127
This library supports 2 different types of encryption/decryption. Field level encryption (deprecated) and JWE encryption.
128128

129-
#### JWE Encryption <a name="jwe-encryption-and-decryption"></a>
129+
#### JWE Encryption and Decryption <a name="jwe-encryption-and-decryption"></a>
130130

131131
+ [Introduction](#jwe-introduction)
132132
+ [Configuring the JWE Encryption](#configuring-the-jwe-encryption)
@@ -198,7 +198,7 @@ Output:
198198
}
199199
```
200200

201-
#### Performing Decryption <a name="performing-jwe-decryption"></a>
201+
#### Performing JWE Decryption <a name="performing-jwe-decryption"></a>
202202

203203
Call `JweEncryption.decryptPayload` with a JSON response payload and a `JweConfig` instance.
204204

@@ -289,17 +289,17 @@ Output:
289289
}
290290
```
291291

292-
#### Performing Field Level Encryption <a name="field-level-encryption-and-decryption"></a>
292+
#### Field Level Encryption and Decryption <a name="field-level-encryption-and-decryption"></a>
293293

294-
+ [Introduction](#introduction)
294+
+ [Introduction](#fle-introduction)
295295
+ [Configuring the Field Level Encryption](#configuring-the-field-level-encryption)
296-
+ [Performing Encryption](#performing-encryption)
297-
+ [Performing Decryption](#performing-decryption)
298-
+ [Encrypting Entire Payloads](#encrypting-entire-payloads)
299-
+ [Decrypting Entire Payloads](#decrypting-entire-payloads)
296+
+ [Performing Field Level Encryption](#performing-field-level-encryption)
297+
+ [Performing Field Level Decryption](#performing-field-level-decryption)
298+
+ [Encrypting Entire Field Level Encryption Payloads](#encrypting-entire-fle-payloads)
299+
+ [Decrypting Entire Field Level Encryption Payloads](#decrypting-entire-fle-payloads)
300300
+ [Using HTTP Headers for Encryption Params](#using-http-headers-for-encryption-params)
301301

302-
#### Introduction <a name="introduction"></a>
302+
#### Introduction <a name="fle-introduction"></a>
303303

304304
The core methods responsible for payload encryption and decryption are `encryptPayload` and `decryptPayload` in the `FieldLevelEncryption` class.
305305

@@ -334,7 +334,7 @@ See also:
334334
* [FieldLevelEncryptionConfig.java](https://www.javadoc.io/page/com.mastercard.developer/client-encryption/latest/com/mastercard/developer/encryption/FieldLevelEncryptionConfig.html) for all config options
335335
* [Service Configurations for Client Encryption Java](https://github.com/Mastercard/client-encryption-java/wiki/Service-Configurations-for-Client-Encryption-Java)
336336

337-
#### Performing Encryption <a name="performing-encryption"></a>
337+
#### Performing Field Level Encryption <a name="performing-field-level-encryption"></a>
338338

339339
Call `FieldLevelEncryption.encryptPayload` with a JSON request payload and a `FieldLevelEncryptionConfig` instance.
340340

@@ -369,7 +369,7 @@ Output:
369369
}
370370
```
371371

372-
#### Performing Decryption <a name="performing-decryption"></a>
372+
#### Performing Field Level Decryption <a name="performing-field-level-decryption"></a>
373373

374374
Call `FieldLevelEncryption.decryptPayload` with a JSON response payload and a `FieldLevelEncryptionConfig` instance.
375375

@@ -404,7 +404,7 @@ Output:
404404
}
405405
```
406406

407-
#### Encrypting Entire Payloads <a name="encrypting-entire-payloads"></a>
407+
#### Encrypting Entire Payloads <a name="encrypting-entire-fle-payloads"></a>
408408

409409
Entire payloads can be encrypted using the "$" operator as encryption path:
410410

@@ -435,7 +435,7 @@ Output:
435435
}
436436
```
437437

438-
#### Decrypting Entire Payloads <a name="decrypting-entire-payloads"></a>
438+
#### Decrypting Entire Payloads <a name="decrypting-entire-fle-payloads"></a>
439439

440440
Entire payloads can be decrypted using the "$" operator as decryption path:
441441

0 commit comments

Comments
 (0)