|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReadOnlyHeader
Read-only view of a header.
| Method Summary | |
|---|---|
Algorithm |
getAlgorithm()
Gets the algorithm ( alg) parameter. |
String |
getContentType()
Gets the content type ( cty) parameter. |
Object |
getCustomParameter(String name)
Gets a custom (non-reserved) parameter. |
Map<String,Object> |
getCustomParameters()
Gets the custom (non-reserved) parameters. |
Set<String> |
getIncludedParameters()
Gets the names of all included parameters (reserved and custom) in the header instance. |
JOSEObjectType |
getType()
Gets the type ( typ) parameter. |
Base64URL |
toBase64URL()
Returns a Base64URL representation of the header. |
net.minidev.json.JSONObject |
toJSONObject()
Returns a JSON object representation of the header. |
| Method Detail |
|---|
Algorithm getAlgorithm()
alg) parameter.
JOSEObjectType getType()
typ) parameter.
null if not specified.String getContentType()
cty) parameter.
null if not specified.Object getCustomParameter(String name)
name - The name of the custom parameter. Must not be
null.
null if not specified.Map<String,Object> getCustomParameters()
Set<String> getIncludedParameters()
net.minidev.json.JSONObject toJSONObject()
Base64URL toBase64URL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||