Package net.officefloor.web.jwt.jwks
Interface JwksKeyParser
-
- All Known Implementing Classes:
RsaPrivateJwksKeyParserServiceFactory,RsaPublicJwksKeyParserServiceFactory,SecretJwksKeyParserServiceFactory
public interface JwksKeyParserParses out the JWKSKeyfrom the content.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.KeyparseKey(JwksKeyParserContext context)Parses theKeyfrom the JWKkeyJsonNode.
-
-
-
Method Detail
-
parseKey
java.security.Key parseKey(JwksKeyParserContext context) throws java.lang.Exception
Parses theKeyfrom the JWKkeyJsonNode.- Parameters:
context-JwksKeyParserContext.- Returns:
Keyornullif not able to parseKey(indicating for anotherJwksKeyParserto attempt to obtain theKey).- Throws:
java.lang.Exception- If failure parsing theKey.
-
-