We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dfe3c6 commit 4d7c0b1Copy full SHA for 4d7c0b1
src/main/java/com/mastercard/developer/encryption/EncryptionConfigBuilder.java
@@ -38,7 +38,7 @@ void computeEncryptionKeyFingerprintWhenNeeded() throws EncryptionException {
38
} else {
39
publicKey = encryptionCertificate.getPublicKey();
40
}
41
- byte[] keyFingerprintBytes = sha256digestBytes(publicKey.getEncoded());
+ final byte[] keyFingerprintBytes = sha256digestBytes(publicKey.getEncoded());
42
encryptionKeyFingerprint = encodeBytes(keyFingerprintBytes, FieldLevelEncryptionConfig.FieldValueEncoding.HEX);
43
} catch (Exception e) {
44
throw new EncryptionException("Failed to compute encryption key fingerprint!", e);
0 commit comments