mirror of
https://github.com/sismics/docs.git
synced 2024-12-23 03:33:49 +01:00
Removed log
This commit is contained in:
parent
f80b23369d
commit
10ff18597d
@ -125,9 +125,7 @@ public class JwtBasedSecurityFilter extends SecurityFilter {
|
|||||||
.findFirst()
|
.findFirst()
|
||||||
.map(k -> k.asJsonObject().getJsonArray("x5c").getString(0))
|
.map(k -> k.asJsonObject().getJsonArray("x5c").getString(0))
|
||||||
.orElse("");
|
.orElse("");
|
||||||
log.info("X5c is " + publicKey);
|
|
||||||
var decode = Base64.getDecoder().decode(publicKey);
|
var decode = Base64.getDecoder().decode(publicKey);
|
||||||
log.info("Decoded public key - " + publicKey);
|
|
||||||
var certificate = CertificateFactory.getInstance("X.509")
|
var certificate = CertificateFactory.getInstance("X.509")
|
||||||
.generateCertificate(new ByteArrayInputStream(decode));
|
.generateCertificate(new ByteArrayInputStream(decode));
|
||||||
rsaPublicKey = (RSAPublicKey) certificate.getPublicKey();
|
rsaPublicKey = (RSAPublicKey) certificate.getPublicKey();
|
||||||
|
Loading…
Reference in New Issue
Block a user