test_class.file: java_src/src/test/java/com/google/crypto/tink/jwt/JwtTest.java
test_class.identifier: JwtTest
test_case.body: @Test
    public void getContentType_success() throws Exception {
      JSONObject header = new JSONObject();
      header.put(JwtNames.HEADER_CONTENT_TYPE, "foo");
      Jwt token = new Jwt(header, new JSONObject(), Clock.systemUTC(), Duration.ZERO);
  
      assertThat(token.getContentType()).isEqualTo("foo");
    }
test_case.class_method_signature: JwtTest.getContentType_success()
test_case.full_signature: @Test public void getContentType_success()
test_case.identifier: getContentType_success
test_case.invocations: put systemUTC isEqualTo assertThat getContentType
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getContentType_success()
focal_class.declarator: header
focal_class.modifier: @SuppressWarnings("Immutable") // We do not mutate the header.
    private final
focal_class.original_string: @SuppressWarnings("Immutable") // We do not mutate the header.
    private final JSONObject header;
focal_class.type: JSONObject
focal_class.var_name: header
focal_class.declarator: payload
focal_class.modifier: @SuppressWarnings("Immutable") // We do not mutate the payload.
    private final
focal_class.original_string: @SuppressWarnings("Immutable") // We do not mutate the payload.
    private final JSONObject payload;
focal_class.type: JSONObject
focal_class.var_name: payload
focal_class.declarator: clock
focal_class.modifier: @SuppressWarnings("Immutable") // We do not mutate the clock.
    private final
focal_class.original_string: @SuppressWarnings("Immutable") // We do not mutate the clock.
    private final Clock clock;
focal_class.type: Clock
focal_class.var_name: clock
focal_class.declarator: clockSkew
focal_class.modifier: private final
focal_class.original_string: private final Duration clockSkew;
focal_class.type: Duration
focal_class.var_name: clockSkew
focal_class.file: java_src/src/main/java/com/google/crypto/tink/jwt/Jwt.java
focal_class.identifier: Jwt
focal_class.class_method_signature: Jwt.Jwt(JSONObject header, JSONObject payload, Clock clock, Duration clockSkew)
focal_class.full_signature:   Jwt(JSONObject header, JSONObject payload, Clock clock, Duration clockSkew)
focal_class.identifier: Jwt
focal_class.parameters: (JSONObject header, JSONObject payload, Clock clock, Duration clockSkew)
focal_class.signature:  Jwt(JSONObject header, JSONObject payload, Clock clock, Duration clockSkew)
focal_class.class_method_signature: Jwt.getHeader(String name)
focal_class.full_signature:  String getHeader(String name)
focal_class.identifier: getHeader
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getHeader(String name)
focal_class.class_method_signature: Jwt.getIssuer()
focal_class.full_signature: public String getIssuer()
focal_class.identifier: getIssuer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIssuer()
focal_class.class_method_signature: Jwt.getSubject()
focal_class.full_signature: public String getSubject()
focal_class.identifier: getSubject
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSubject()
focal_class.class_method_signature: Jwt.getAudiences()
focal_class.full_signature: public List<String> getAudiences()
focal_class.identifier: getAudiences
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getAudiences()
focal_class.class_method_signature: Jwt.getJwtId()
focal_class.full_signature: public String getJwtId()
focal_class.identifier: getJwtId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJwtId()
focal_class.class_method_signature: Jwt.getExpiration()
focal_class.full_signature: public Instant getExpiration()
focal_class.identifier: getExpiration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Instant
focal_class.signature: Instant getExpiration()
focal_class.class_method_signature: Jwt.getNotBefore()
focal_class.full_signature: public Instant getNotBefore()
focal_class.identifier: getNotBefore
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Instant
focal_class.signature: Instant getNotBefore()
focal_class.class_method_signature: Jwt.getIssuedAt()
focal_class.full_signature: public Instant getIssuedAt()
focal_class.identifier: getIssuedAt
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Instant
focal_class.signature: Instant getIssuedAt()
focal_class.class_method_signature: Jwt.getClaim(String name)
focal_class.full_signature: public Object getClaim(String name)
focal_class.identifier: getClaim
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: Object
focal_class.signature: Object getClaim(String name)
focal_class.class_method_signature: Jwt.getType()
focal_class.full_signature: public String getType()
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: Jwt.getContentType()
focal_class.full_signature: public String getContentType()
focal_class.identifier: getContentType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getContentType()
focal_class.class_method_signature: Jwt.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: Jwt.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: Jwt.getInstant(String name)
focal_class.full_signature: private Instant getInstant(String name)
focal_class.identifier: getInstant
focal_class.modifiers: private
focal_class.parameters: (String name)
focal_class.return: Instant
focal_class.signature: Instant getInstant(String name)
focal_class.class_method_signature: Jwt.validateTimestampClaims()
focal_class.full_signature: private void validateTimestampClaims()
focal_class.identifier: validateTimestampClaims
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void validateTimestampClaims()
focal_method.body: public String getContentType() throws JwtExpiredException, JwtNotBeforeException {
      return getHeader(JwtNames.HEADER_CONTENT_TYPE);
    }
focal_method.class_method_signature: Jwt.getContentType()
focal_method.full_signature: public String getContentType()
focal_method.identifier: getContentType
focal_method.invocations: getHeader
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getContentType()