Package io.jans.as.server.jwk.ws.rs
Interface JwkRestWebService
-
- All Known Implementing Classes:
JwkRestWebServiceImpl
public interface JwkRestWebService
Provides interface for JWK REST web services
A JSON Web Key (JWK) is a JSON data structure that represents a set of public keys as a JSON object [RFC4627]. The JWK format is used to represent bare keys. JSON Web Keys are referenced in JSON Web Signatures (JWSs) using the jku (JSON Key URL) header parameter.
It is sometimes useful to be able to reference public key representations, for instance, in order to verify the signature on content signed with the corresponding private key. The JSON Web Key (JWK) data structure provides a convenient JSON representation for sets of public keys utilizing either the Elliptic Curve or RSA families of algorithms.
- Author:
- Javier Rojas Blum Date: 11.15.2011
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
requestJwk(jakarta.ws.rs.core.SecurityContext securityContext)
The JWK endpoint.
-
-
-
Method Detail
-
requestJwk
@GET @Path("/jwks") @Produces("application/json") jakarta.ws.rs.core.Response requestJwk(@Context jakarta.ws.rs.core.SecurityContext securityContext)
The JWK endpoint.- Parameters:
securityContext
- An injectable interface that provides access to security related information.- Returns:
- The JSON Web Key data structure JWK. A JWK consists of a JWK Container Object, which is a JSON object that contains an array of JWK Key Objects as a member.
-
-