public interface JWSHeader
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Returns algorithm (
alg ) used to sign the JWS, null if not specified. |
java.lang.String |
getContentType()
Returns the content type (
cty), null if not specified. |
java.lang.Object |
getHeader(java.lang.String name)
Returns the header value for a given name
|
java.net.URI |
getJWKURL()
Returns the JSON Web Key (JWK) URL
|
java.lang.String |
getKId()
Returns the kid (
kid), null if not specified. |
java.lang.String |
getX509CertSHA256Thumbprint()
Gets the X.509 certificate SHA-256 thumbprint (
x5t#S256)
parameter. |
java.net.URI |
getX509CertURL()
Gets the X.509 certificate URL
|
java.lang.String |
toJSONString()
Return JSON String representation of header
* @since V5.7
|
java.lang.Object getHeader(java.lang.String name)
name - of the header valuejava.lang.String getAlgorithm()
alg ) used to sign the JWS, null if not specified.java.lang.String getKId()
kid), null if not specified.java.lang.String getContentType()
cty), null if not specified.java.lang.String toJSONString()
java.net.URI getJWKURL()
jku) parameter, null if not
specified.java.net.URI getX509CertURL()
x5u), null if not
specified.java.lang.String getX509CertSHA256Thumbprint()
x5t#S256)
parameter.null if not specified.