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

      • getKeyValue

        @Deprecated
        public JSONWebKey getKeyValue​(java.lang.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 PublicKey getPublicKey​(java.lang.String keyId)
        Deprecated.
      • getKeyId

        public java.lang.String getKeyId​(Algorithm algorithm)