public interface HeaderFilter
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAcceptedParameters()
Gets the names of the accepted header parameters.
|
void |
setAcceptedParameters(Set<String> acceptedParams)
Sets the names of the accepted header parameters.
|
Set<String> getAcceptedParameters()
alg
parameter for JWS headers
or the alg
and enc
parameters for JWE
headers.void setAcceptedParameters(Set<String> acceptedParams)
acceptedParams
- The accepted header parameters. Must contain
at least the alg
parameter for JWS
headers or the alg
and enc
parameters for JWE headers. Must not be
null
.Copyright © 2013 NimbusDS. All Rights Reserved.