public class JweHeaders extends JoseHeaders
Constructor and Description |
---|
JweHeaders() |
JweHeaders(JoseHeaders headers) |
JweHeaders(Map<String,Object> values) |
JweHeaders(String ctEncAlgo) |
JweHeaders(String ctEncAlgo,
boolean deflate) |
JweHeaders(String keyEncAlgo,
String ctEncAlgo) |
JweHeaders(String keyEncAlgo,
String ctEncAlgo,
boolean deflate) |
Modifier and Type | Method and Description |
---|---|
String |
getContentEncryptionAlgorithm() |
ContentAlgorithm |
getContentEncryptionAlgorithmEnum() |
String |
getKeyEncryptionAlgorithm() |
KeyAlgorithm |
getKeyEncryptionAlgorithmEnum() |
JweHeaders |
getProtectedHeaders() |
String |
getZipAlgorithm() |
void |
setContentEncryptionAlgorithm(ContentAlgorithm algo) |
void |
setContentEncryptionAlgorithm(String type) |
JoseHeaders |
setHeader(String name,
Object value) |
void |
setKeyEncryptionAlgorithm(KeyAlgorithm algo) |
void |
setKeyEncryptionAlgorithm(String type) |
void |
setProtectedHeaders(JweHeaders protectedHeaders) |
void |
setZipAlgorithm(String type) |
byte[] |
toCipherAdditionalAuthData() |
static byte[] |
toCipherAdditionalAuthData(String headersJson) |
getAlgorithm, getContentType, getCritical, getHeader, getIntegerHeader, getJsonWebKey, getJsonWebKey, getJsonWebKeysUrl, getKeyId, getLongHeader, getType, getX509Chain, getX509Thumbprint, getX509ThumbprintSHA256, getX509Url, setAlgorithm, setContentType, setCritical, setIntegerHeader, setJsonWebKey, setJsonWebKey, setJsonWebKeysUrl, setKeyId, setLongHeader, setType, setX509Chain, setX509Thumbprint, setX509ThumbprintSHA256, setX509Url
asMap, equals, getBooleanProperty, getIntegerProperty, getLongProperty, getProperty, getStringProperty, getUpdateCount, hashCode, setProperty
public JweHeaders()
public JweHeaders(JoseHeaders headers)
public JweHeaders(String ctEncAlgo)
public JweHeaders(String ctEncAlgo, boolean deflate)
public void setKeyEncryptionAlgorithm(String type)
public void setKeyEncryptionAlgorithm(KeyAlgorithm algo)
public String getKeyEncryptionAlgorithm()
public KeyAlgorithm getKeyEncryptionAlgorithmEnum()
public void setContentEncryptionAlgorithm(String type)
public void setContentEncryptionAlgorithm(ContentAlgorithm algo)
public String getContentEncryptionAlgorithm()
public ContentAlgorithm getContentEncryptionAlgorithmEnum()
public void setZipAlgorithm(String type)
public String getZipAlgorithm()
public JoseHeaders setHeader(String name, Object value)
setHeader
in class JoseHeaders
public byte[] toCipherAdditionalAuthData()
public static byte[] toCipherAdditionalAuthData(String headersJson)
public JweHeaders getProtectedHeaders()
public void setProtectedHeaders(JweHeaders protectedHeaders)
Apache CXF