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()
JOSEHeader
getRawAlgorithm
in interface JOSEHeader
public String getType()
public String getContentType()
public String getKeyId()
getKeyId
in interface JOSEHeader
Copyright © 2021 JBoss by Red Hat. All rights reserved.