Package io.jans.as.client
Class JwkResponse
- java.lang.Object
 - 
- io.jans.as.client.BaseResponse
 - 
- io.jans.as.client.JwkResponse
 
 
 
- 
public class JwkResponse extends BaseResponse
Represents a JSON Web Key (JWK) received from the authorization server.- Version:
 - February 12, 2019
 - Author:
 - Javier Rojas Blum
 
 
- 
- 
Field Summary
- 
Fields inherited from class io.jans.as.client.BaseResponse
entity, headers, location, status 
 - 
 
- 
Constructor Summary
Constructors Constructor Description JwkResponse(int status)Constructs a JWK response. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description io.jans.as.model.jwk.JSONWebKeySetgetJwks()java.lang.StringgetKeyId(io.jans.as.model.jwk.Algorithm algorithm)java.util.List<io.jans.as.model.jwk.JSONWebKey>getKeys(io.jans.as.model.jwk.Algorithm algorithm)io.jans.as.model.jwk.JSONWebKeygetKeyValue(java.lang.String keyId)Deprecated.io.jans.as.model.crypto.PublicKeygetPublicKey(java.lang.String keyId)Deprecated.voidsetJwks(io.jans.as.model.jwk.JSONWebKeySet jwks)- 
Methods inherited from class io.jans.as.client.BaseResponse
getEntity, getHeaders, getLocation, getStatus, setEntity, setHeaders, setLocation, setStatus 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getJwks
public io.jans.as.model.jwk.JSONWebKeySet getJwks()
 
- 
setJwks
public void setJwks(io.jans.as.model.jwk.JSONWebKeySet jwks)
 
- 
getKeyValue
@Deprecated public io.jans.as.model.jwk.JSONWebKey getKeyValue(java.lang.String keyId)
Deprecated.Search and returns aJSONWebKeygiven itskeyId.- Parameters:
 keyId- The key id.- Returns:
 - The JSONWebKey if found, otherwise 
null. 
 
- 
getPublicKey
@Deprecated public io.jans.as.model.crypto.PublicKey getPublicKey(java.lang.String keyId)
Deprecated. 
- 
getKeys
public java.util.List<io.jans.as.model.jwk.JSONWebKey> getKeys(io.jans.as.model.jwk.Algorithm algorithm)
 
- 
getKeyId
public java.lang.String getKeyId(io.jans.as.model.jwk.Algorithm algorithm)
 
 - 
 
 -