Skip to content

Commit 9db1e45

Browse files
authored
Method added for specifying ski
1 parent 6736f06 commit 9db1e45

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ public JweConfigBuilder withEncryptedValueFieldName(String encryptedValueFieldNa
7474
return this;
7575
}
7676

77+
public JweConfigBuilder withEncryptionKeyFingerprint(String encryptionKeyFingerprint) {
78+
this.encryptionKeyFingerprint = encryptionKeyFingerprint;
79+
return this;
80+
}
81+
7782
private void checkParameterValues() {
7883
if (decryptionKey == null && encryptionCertificate == null) {
7984
throw new IllegalArgumentException("You must include at least an encryption certificate or a decryption key");

0 commit comments

Comments
 (0)