public class JwsHeader extends JwtSecureHeader
Constructor and Description |
---|
JwsHeader()
Constructs a new, empty JwsHeader.
|
JwsHeader(Map<String,Object> headerParameters)
Constructs a new JwsHeader, with its parameters set to the contents of the given Map.
|
Modifier and Type | Method and Description |
---|---|
JwsAlgorithm |
getAlgorithm()
Gets the Algorithm set in the JWT header.
|
getCompressionAlgorithm, getContentType, getCriticalHeaders, getJsonWebKey, getJwkSetUrl, getKeyId, getParameter, getX509CertificateChain, getX509CertificateThumbprint, getX509Url, setCompressionAlgorithm, setContentType, setCriticalHeaders, setJsonWebKey, setJwkSetUrl, setKeyId, setParameter, setX509CertificateChain, setX509CertificateThumbprint, setX509Url
build, getAlgorithmString, getParameter, getParameters, getType, setAlgorithm, setParameters, setType
checkListValuesAreOfType, checkValueIsOfType, get, isDefined, isValueOfType, keys, put, toJsonValue, toString
public JwsAlgorithm getAlgorithm()
If there is no algorithm set in the JWT header, then the JwsAlgorithm NONE will be returned.
getAlgorithm
in class JwtHeader
Copyright © 2010-2018, ForgeRock All Rights Reserved.