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
*[FieldLevelEncryptionConfig.java](https://www.javadoc.io/page/com.mastercard.developer/client-encryption/latest/com/mastercard/developer/encryption/FieldLevelEncryptionConfig.html) for all config options
339
340
*[Service Configurations for Client Encryption Java](https://github.com/Mastercard/client-encryption-java/wiki/Service-Configurations-for-Client-Encryption-Java)
Entire payloads can be decrypted using the "$" operator as decryption path:
445
446
@@ -470,13 +471,13 @@ Output:
470
471
}
471
472
```
472
473
473
-
#### Using HTTP Headers for Encryption Params <aname="using-http-headers-for-encryption-params"></a>
474
+
##### • Using HTTP Headers for Encryption Params <aname="using-http-headers-for-encryption-params"></a>
474
475
475
476
In the sections above, encryption parameters (initialization vector, encrypted symmetric key, etc.) are part of the HTTP payloads.
476
477
477
478
Here is how to configure the library for using HTTP headers instead.
478
479
479
-
##### Configuration for Using HTTP Headers <aname="configuration-for-using-http-headers"></a>
480
+
######Configuration for Using HTTP Headers <aname="configuration-for-using-http-headers"></a>
480
481
481
482
Call `with{Param}HeaderName` instead of `with{Param}FieldName` when building a `FieldLevelEncryptionConfig` instance. Example:
482
483
```java
@@ -498,7 +499,7 @@ See also:
498
499
*[FieldLevelEncryptionConfig.java](https://www.javadoc.io/page/com.mastercard.developer/client-encryption/latest/com/mastercard/developer/encryption/FieldLevelEncryptionConfig.html) for all config options
499
500
*[Service Configurations for Client Encryption Java](https://github.com/Mastercard/client-encryption-java/wiki/Service-Configurations-for-Client-Encryption-Java)
500
501
501
-
##### Encrypting Using HTTP Headers
502
+
######Encrypting Using HTTP Headers
502
503
503
504
Encryption can be performed using the following steps:
504
505
@@ -539,7 +540,7 @@ Output:
539
540
}
540
541
```
541
542
542
-
##### Decrypting Using HTTP Headers
543
+
######Decrypting Using HTTP Headers
543
544
544
545
Decryption can be performed using the following steps:
0 commit comments