Skip to content

Commit

Permalink
Checkstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
coheigea committed Jan 30, 2025
1 parent b1bb162 commit ff1a5b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ private X509Certificate[] getCertificatesFromX509Data(
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) {
Expand Down

0 comments on commit ff1a5b9

Please sign in to comment.