Skip to content

Commit 80723ba

Browse files
committed
Clean-up
1 parent c972615 commit 80723ba

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ Certificate encryptionCertificate = EncryptionUtils.loadEncryptionCertificate("<
6969
A `PrivateKey` key object can be created from a PKCS#12 file by calling the `EncryptionUtils.loadDecryptionKey` method:
7070
```java
7171
PrivateKey decryptionKey = EncryptionUtils.loadDecryptionKey(
72-
"<insert PKCS#12 key file path>",
73-
"<insert key alias>",
74-
"<insert key password>");
72+
"<insert PKCS#12 key file path>",
73+
"<insert key alias>",
74+
"<insert key password>");
7575
```
7676

7777
#### From a PKCS#8 Formatted Key

src/main/java/com/mastercard/developer/encryption/FieldLevelEncryption.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import com.jayway.jsonpath.JsonPath;
99
import com.jayway.jsonpath.Option;
1010
import com.jayway.jsonpath.spi.json.GsonJsonProvider;
11-
import com.jayway.jsonpath.spi.mapper.GsonMappingProvider;
1211
import org.apache.commons.codec.DecoderException;
1312
import org.apache.commons.codec.binary.Base64;
1413
import org.apache.commons.codec.binary.Hex;
@@ -47,7 +46,6 @@ public class FieldLevelEncryption {
4746

4847
private static final Configuration jsonPathConfig = new Configuration.ConfigurationBuilder()
4948
.jsonProvider(new GsonJsonProvider())
50-
.mappingProvider(new GsonMappingProvider())
5149
.options(Option.SUPPRESS_EXCEPTIONS)
5250
.build();
5351

0 commit comments

Comments
 (0)