This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 3_0_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git
The following commit(s) were added to refs/heads/3_0_x-fixes by this push:
new 595c14d67 Checkstyle fix
595c14d67 is described below
commit 595c14d67f2e104a3fb9d71e894a6e35b214b00a
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Thu Jan 30 10:41:38 2025 +0000
Checkstyle fix
---
.../java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
b/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
index 06b1c64cf..8f3028da5 100644
---
a/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
+++
b/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
@@ -631,7 +631,8 @@ public class EncryptedKeyProcessor implements Processor {
certs = data.getDecCrypto().getX509Certificates(cryptoType);
}
- Element x509CertElement =
XMLUtils.getDirectChildElement(keyInfoChildElement,
WSS4JConstants.X509_CERT_LN, WSS4JConstants.SIG_NS);
+ Element x509CertElement =
XMLUtils.getDirectChildElement(keyInfoChildElement,
+ WSS4JConstants.X509_CERT_LN, WSS4JConstants.SIG_NS);
if (x509CertElement != null && certs.length == 0) {
byte[] token =
EncryptionUtils.getDecodedBase64EncodedData(x509CertElement);
if (token == null || token.length == 0) {