Skip to content

Commit

Permalink
Added removed line back
Browse files Browse the repository at this point in the history
  • Loading branch information
ashanthamara committed Jan 22, 2024
1 parent 8061190 commit 1517a8e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ private void populateJWKSArray(List<CertificateInfo> certInfoList, List<JWSAlgor
private RSAKey.Builder getJWK(JWSAlgorithm algorithm, List<Base64> encodedCertList, X509Certificate certificate,
String kidAlgorithm, String alias)
throws ParseException, IdentityOAuth2Exception, JOSEException {

RSAKey.Builder jwk = new RSAKey.Builder((RSAPublicKey) certificate.getPublicKey());
if (kidAlgorithm.equals(OAuthConstants.SignatureAlgorithms.KID_HASHING_ALGORITHM)) {
jwk.keyID(OAuth2Util.getKID(certificate, algorithm, getTenantDomain()));
Expand Down

0 comments on commit 1517a8e

Please sign in to comment.