Enum JwsHeaderKey

java.lang.Object
java.lang.Enum<JwsHeaderKey>
org.forgerock.json.jose.jws.JwsHeaderKey
All Implemented Interfaces:
Serializable, Comparable<JwsHeaderKey>

public enum JwsHeaderKey extends Enum<JwsHeaderKey>
An Enum for the JWS Header parameter names.

As described in the JWS specification, the reserved JWS header parameters are listed,

  • "jku"
  • "jwk"
  • "x5u"
  • "x5t"
  • "x5c"
  • "kid"
  • "cty"
  • "crit"
Any other header parameter name is deemed as a "custom" header parameter.
Since:
2.0.0
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Critical header parameter.
    Content Type header parameter.
    Generic header key for a custom header parameter.
    JWK Set URL header parameter.
    JSON Web Key header parameter.
    Key ID header parameter.
    X.509 Certificate Chain header parameter.
    X.509 Certificate Thumbprint header parameter.
    X.509 URL header parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    getHeaderKey(String headerKey)
    Gets the JwsHeaderKey constant that matches the given String.
    Turns the JwsHeaderKey constant into a lowercase String.
    Returns a lowercase String of the JwsHeaderKey constant.
    Returns the enum constant of this type with the specified name.
    static JwsHeaderKey[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait