Package io.trino.server.security.jwt
Class JwkDecoder
- java.lang.Object
-
- io.trino.server.security.jwt.JwkDecoder
-
public final class JwkDecoder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJwkDecoder.JwkEcPublicKeystatic interfaceJwkDecoder.JwkPublicKeystatic classJwkDecoder.JwkRsaPublicKeystatic classJwkDecoder.Keystatic classJwkDecoder.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, JwkDecoder.Key key)static Optional<? extends JwkDecoder.JwkPublicKey>tryDecodeJwkKey(JwkDecoder.Key key)static Optional<JwkDecoder.JwkRsaPublicKey>tryDecodeRsaKey(String keyId, JwkDecoder.Key key)
-
-
-
Method Detail
-
tryDecodeJwkKey
public static Optional<? extends JwkDecoder.JwkPublicKey> tryDecodeJwkKey(JwkDecoder.Key key)
-
tryDecodeRsaKey
public static Optional<JwkDecoder.JwkRsaPublicKey> tryDecodeRsaKey(String keyId, JwkDecoder.Key key)
-
tryDecodeEcKey
public static Optional<JwkDecoder.JwkEcPublicKey> tryDecodeEcKey(String keyId, JwkDecoder.Key key)
-
-