Package org.keycloak.jose.jwe
Class JWEHeader
java.lang.Object
org.keycloak.jose.jwe.JWEHeader
- All Implemented Interfaces:
Serializable
,JOSEHeader
- Author:
- Marek Posolda
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionJWEHeader
(String algorithm, String encryptionAlgorithm, String compressionAlgorithm, String keyId, String contentType) JWEHeader
(String algorithm, String encryptionAlgorithm, String compressionAlgorithm, String keyId, String contentType, String type, ECPublicJWK ephemeralPublicKey, String agreementPartyUInfo, String agreementPartyVInfo) -
Method Summary
Modifier and TypeMethodDescriptionstatic JWEHeader.JWEHeaderBuilder
builder()
getKeyId()
Returns the algorithm used to sign or encrypt the JWT from the JOSE header.getType()
toString()
-
Constructor Details
-
JWEHeader
public JWEHeader() -
JWEHeader
-
JWEHeader
-
JWEHeader
-
JWEHeader
-
-
Method Details
-
getAlgorithm
-
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
-
getCompressionAlgorithm
-
getType
-
getContentType
-
getKeyId
- Specified by:
getKeyId
in interfaceJOSEHeader
-
getEphemeralPublicKey
-
getAgreementPartyUInfo
-
getAgreementPartyVInfo
-
toString
-
toBuilder
-
builder
-