Package org.keycloak.jose.jwe
Class JWEHeader
- java.lang.Object
- 
- org.keycloak.jose.jwe.JWEHeader
 
- 
- All Implemented Interfaces:
- Serializable,- JOSEHeader
 
 public class JWEHeader extends Object implements JOSEHeader - Author:
- Marek Posolda
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description JWEHeader()JWEHeader(String algorithm, String encryptionAlgorithm, String compressionAlgorithm)JWEHeader(String algorithm, String encryptionAlgorithm, String compressionAlgorithm, String keyId)JWEHeader(String algorithm, String encryptionAlgorithm, String compressionAlgorithm, String keyId, String contentType)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()StringgetCompressionAlgorithm()StringgetContentType()StringgetEncryptionAlgorithm()StringgetKeyId()StringgetRawAlgorithm()Returns the algorithm used to sign or encrypt the JWT from the JOSE header.StringgetType()StringtoString()
 
- 
- 
- 
Method Detail- 
getAlgorithmpublic String getAlgorithm() 
 - 
getRawAlgorithmpublic String getRawAlgorithm() Description copied from interface:JOSEHeaderReturns the algorithm used to sign or encrypt the JWT from the JOSE header.- Specified by:
- getRawAlgorithmin interface- JOSEHeader
- Returns:
- the algorithm from the JOSE header
 
 - 
getEncryptionAlgorithmpublic String getEncryptionAlgorithm() 
 - 
getCompressionAlgorithmpublic String getCompressionAlgorithm() 
 - 
getTypepublic String getType() 
 - 
getContentTypepublic String getContentType() 
 - 
getKeyIdpublic String getKeyId() - Specified by:
- getKeyIdin interface- JOSEHeader
 
 
- 
 
-