public class JWSHeader extends Object implements JOSEHeader
| Constructor and Description |
|---|
JWSHeader() |
JWSHeader(Algorithm algorithm,
String type,
String contentType) |
JWSHeader(Algorithm algorithm,
String type,
String contentType,
String keyId) |
| Modifier and Type | Method and Description |
|---|---|
Algorithm |
getAlgorithm() |
String |
getContentType() |
String |
getKeyId() |
String |
getRawAlgorithm()
Returns the algorithm used to sign or encrypt the JWT from the JOSE header.
|
String |
getType() |
String |
toString() |
public Algorithm getAlgorithm()
public String getRawAlgorithm()
JOSEHeadergetRawAlgorithm in interface JOSEHeaderpublic String getType()
public String getContentType()
public String getKeyId()
getKeyId in interface JOSEHeaderCopyright © 2021 JBoss by Red Hat. All rights reserved.