test_class.file: core/src/test/java/org/keycloak/jose/jwk/JWKTest.java
test_class.identifier: JWKTest
test_case.body: @Test
      public void parse() {
          String jwkJson = "{" +
                  "   \"kty\": \"RSA\"," +
                  "   \"alg\": \"RS256\"," +
                  "   \"use\": \"sig\"," +
                  "   \"kid\": \"3121adaa80ace09f89d80899d4a5dc4ce33d0747\"," +
                  "   \"n\": \"soFDjoZ5mQ8XAA7reQAFg90inKAHk0DXMTizo4JuOsgzUbhcplIeZ7ks83hsEjm8mP8lUVaHMPMAHEIp3gu6Xxsg-s73ofx1dtt_Fo7aj8j383MFQGl8-FvixTVobNeGeC0XBBQjN8lEl-lIwOa4ZoERNAShplTej0ntDp7TQm0=\"," +
                  "   \"e\": \"AQAB\"" +
                  "  }";
  
          PublicKey key = JWKParser.create().parse(jwkJson).toPublicKey();
          assertEquals("RSA", key.getAlgorithm());
          assertEquals("X.509", key.getFormat());
      }
test_case.class_method_signature: JWKTest.parse()
test_case.full_signature: @Test public void parse()
test_case.identifier: parse
test_case.invocations: toPublicKey parse create assertEquals getAlgorithm assertEquals getFormat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void parse()
focal_class.declarator: KEY_ID = "kid"
focal_class.modifier: public static final
focal_class.original_string: public static final String KEY_ID = "kid";
focal_class.type: String
focal_class.var_name: KEY_ID
focal_class.declarator: KEY_TYPE = "kty"
focal_class.modifier: public static final
focal_class.original_string: public static final String KEY_TYPE = "kty";
focal_class.type: String
focal_class.var_name: KEY_TYPE
focal_class.declarator: ALGORITHM = "alg"
focal_class.modifier: public static final
focal_class.original_string: public static final String ALGORITHM = "alg";
focal_class.type: String
focal_class.var_name: ALGORITHM
focal_class.declarator: PUBLIC_KEY_USE = "use"
focal_class.modifier: public static final
focal_class.original_string: public static final String PUBLIC_KEY_USE = "use";
focal_class.type: String
focal_class.var_name: PUBLIC_KEY_USE
focal_class.declarator: keyId
focal_class.modifier: @JsonProperty(KEY_ID)
      private
focal_class.original_string: @JsonProperty(KEY_ID)
      private String keyId;
focal_class.type: String
focal_class.var_name: keyId
focal_class.declarator: keyType
focal_class.modifier: @JsonProperty(KEY_TYPE)
      private
focal_class.original_string: @JsonProperty(KEY_TYPE)
      private String keyType;
focal_class.type: String
focal_class.var_name: keyType
focal_class.declarator: algorithm
focal_class.modifier: @JsonProperty(ALGORITHM)
      private
focal_class.original_string: @JsonProperty(ALGORITHM)
      private String algorithm;
focal_class.type: String
focal_class.var_name: algorithm
focal_class.declarator: publicKeyUse
focal_class.modifier: @JsonProperty(PUBLIC_KEY_USE)
      private
focal_class.original_string: @JsonProperty(PUBLIC_KEY_USE)
      private String publicKeyUse;
focal_class.type: String
focal_class.var_name: publicKeyUse
focal_class.declarator: otherClaims = new HashMap<String, Object>()
focal_class.modifier: protected
focal_class.original_string: protected Map<String, Object> otherClaims = new HashMap<String, Object>();
focal_class.type: Map<String, Object>
focal_class.var_name: otherClaims
focal_class.file: core/src/main/java/org/keycloak/jose/jwk/JWK.java
focal_class.identifier: JWK
focal_class.class_method_signature: JWK.getKeyId()
focal_class.full_signature: public String getKeyId()
focal_class.identifier: getKeyId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getKeyId()
focal_class.class_method_signature: JWK.setKeyId(String keyId)
focal_class.full_signature: public void setKeyId(String keyId)
focal_class.identifier: setKeyId
focal_class.modifiers: public
focal_class.parameters: (String keyId)
focal_class.return: void
focal_class.signature: void setKeyId(String keyId)
focal_class.class_method_signature: JWK.getKeyType()
focal_class.full_signature: public String getKeyType()
focal_class.identifier: getKeyType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getKeyType()
focal_class.class_method_signature: JWK.setKeyType(String keyType)
focal_class.full_signature: public void setKeyType(String keyType)
focal_class.identifier: setKeyType
focal_class.modifiers: public
focal_class.parameters: (String keyType)
focal_class.return: void
focal_class.signature: void setKeyType(String keyType)
focal_class.class_method_signature: JWK.getAlgorithm()
focal_class.full_signature: public String getAlgorithm()
focal_class.identifier: getAlgorithm
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAlgorithm()
focal_class.class_method_signature: JWK.setAlgorithm(String algorithm)
focal_class.full_signature: public void setAlgorithm(String algorithm)
focal_class.identifier: setAlgorithm
focal_class.modifiers: public
focal_class.parameters: (String algorithm)
focal_class.return: void
focal_class.signature: void setAlgorithm(String algorithm)
focal_class.class_method_signature: JWK.getPublicKeyUse()
focal_class.full_signature: public String getPublicKeyUse()
focal_class.identifier: getPublicKeyUse
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPublicKeyUse()
focal_class.class_method_signature: JWK.setPublicKeyUse(String publicKeyUse)
focal_class.full_signature: public void setPublicKeyUse(String publicKeyUse)
focal_class.identifier: setPublicKeyUse
focal_class.modifiers: public
focal_class.parameters: (String publicKeyUse)
focal_class.return: void
focal_class.signature: void setPublicKeyUse(String publicKeyUse)
focal_class.class_method_signature: JWK.getOtherClaims()
focal_class.full_signature: @JsonAnyGetter public Map<String, Object> getOtherClaims()
focal_class.identifier: getOtherClaims
focal_class.modifiers: @JsonAnyGetter public
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getOtherClaims()
focal_class.class_method_signature: JWK.setOtherClaims(String name, Object value)
focal_class.full_signature: @JsonAnySetter public void setOtherClaims(String name, Object value)
focal_class.identifier: setOtherClaims
focal_class.modifiers: @JsonAnySetter public
focal_class.parameters: (String name, Object value)
focal_class.return: void
focal_class.signature: void setOtherClaims(String name, Object value)
focal_method.body: public String getAlgorithm() {
          return algorithm;
      }
focal_method.class_method_signature: JWK.getAlgorithm()
focal_method.full_signature: public String getAlgorithm()
focal_method.identifier: getAlgorithm
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getAlgorithm()