public class JWEHeader extends Object implements JOSEHeader
Constructor and Description |
---|
JWEHeader() |
JWEHeader(String algorithm,
String encryptionAlgorithm,
String compressionAlgorithm) |
JWEHeader(String algorithm,
String encryptionAlgorithm,
String compressionAlgorithm,
String keyId) |
Modifier and Type | Method and 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() |
public JWEHeader()
public JWEHeader(String algorithm, String encryptionAlgorithm, String compressionAlgorithm)
public String getAlgorithm()
public String getRawAlgorithm()
JOSEHeader
getRawAlgorithm
in interface JOSEHeader
public String getEncryptionAlgorithm()
public String getCompressionAlgorithm()
public String getType()
public String getContentType()
public String getKeyId()
getKeyId
in interface JOSEHeader
Copyright © 2021 JBoss by Red Hat. All rights reserved.