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 Summary
Constructors 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
String
getCompressionAlgorithm()
String
getContentType()
String
getEncryptionAlgorithm()
String
getKeyId()
String
getRawAlgorithm()
Returns the algorithm used to sign or encrypt the JWT from the JOSE header.String
getType()
String
toString()
-
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
-
getRawAlgorithm
public String getRawAlgorithm()
Description copied from interface:JOSEHeader
Returns the algorithm used to sign or encrypt the JWT from the JOSE header.- Specified by:
getRawAlgorithm
in interfaceJOSEHeader
- Returns:
- the algorithm from the JOSE header
-
getEncryptionAlgorithm
public String getEncryptionAlgorithm()
-
getCompressionAlgorithm
public String getCompressionAlgorithm()
-
getType
public String getType()
-
getContentType
public String getContentType()
-
getKeyId
public String getKeyId()
- Specified by:
getKeyId
in interfaceJOSEHeader
-
-