Skip to content

Instantly share code, notes, and snippets.

@lilian-benoit
lilian-benoit / GetKey.java
Last active Mar 21, 2021
Récupérer le certificat public au format PEM à partir d'un JWKS
View GetKey.java
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS info.picocli:picocli:4.5.0
//DEPS org.bitbucket.b_c:jose4j:0.7.6
import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.Parameters;
import java.util.List;
import java.util.concurrent.Callable;