Class 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
    • Constructor Detail

      • JwkResponse

        public JwkResponse​(int status)
        Constructs a JWK response.
        Parameters:
        status - The response status code.
    • 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​(String keyId)
        Deprecated.
        Search and returns a JSONWebKey given its keyId.
        Parameters:
        keyId - The key id.
        Returns:
        The JSONWebKey if found, otherwise null.
      • getPublicKey

        @Deprecated
        public io.jans.as.model.crypto.PublicKey getPublicKey​(String keyId)
        Deprecated.
      • getKeys

        public List<io.jans.as.model.jwk.JSONWebKey> getKeys​(io.jans.as.model.jwk.Algorithm algorithm)
      • getKeyId

        public String getKeyId​(io.jans.as.model.jwk.Algorithm algorithm)