/**
  * Sets the type of JWT this header represents.
  *
  * <p>For non-nested JWTs then the "JWT" type is RECOMMENDED to be used but it is OPTIONAL to set
  * the "typ" property. For nested signed or encrypted JWTs the JWT type MUST be "JWS" and "JWE"
  * respectively and the "typ" property MUST be set.
  *
  * @see JwtType
  * @param jwtType The JwtType.
  */
 public void setType(JwtType jwtType) {
   put(TYP.value(), jwtType.toString());
 }
 /**
  * Gets the type of JWT this header represents.
  *
  * @return The JwtType.
  */
 public JwtType getType() {
   return JwtType.valueOf(get(TYP.value()).asString().toUpperCase());
 }
 /** Constructs a new JwtHeader, with the "typ" parameter set to "JWT". */
 public JwtHeader() {
   put(TYP.value(), JwtType.JWT.toString());
 }