Package io.prestosql.server.security.jwt
Class JwkDecoder
- java.lang.Object
-
- io.prestosql.server.security.jwt.JwkDecoder
-
public final class JwkDecoder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JwkDecoder.JwkEcPublicKey
static interface
JwkDecoder.JwkPublicKey
static class
JwkDecoder.JwkRsaPublicKey
static class
JwkDecoder.Keys
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,PublicKey>
decodeKeys(String jwkJson)
static Optional<JwkDecoder.JwkEcPublicKey>
tryDecodeEcKey(String keyId, Map<String,String> properties)
static Optional<? extends JwkDecoder.JwkPublicKey>
tryDecodeJwkKey(Map<String,String> properties)
static Optional<JwkDecoder.JwkRsaPublicKey>
tryDecodeRsaKey(String keyId, Map<String,String> properties)
-