com.nimbusds.jose
Interface JWSHeaderFilter

All Superinterfaces:
HeaderFilter

public interface JWSHeaderFilter
extends HeaderFilter

JSON Web Signature (JWS) header filter. Specifies accepted JWS algorithms and header parameters.

Version:
$version$ (2012-10-04)
Author:
Vladimir Dzhuvinov

Method Summary
 java.util.Set<JWSAlgorithm> getAcceptedAlgorithms()
          Gets the names of the accepted JWS algorithms.
 void setAcceptedAlgorithms(java.util.Set<JWSAlgorithm> acceptedAlgs)
          Sets the names of the accepted JWS algorithms.
 
Methods inherited from interface com.nimbusds.jose.HeaderFilter
getAcceptedParameters
 

Method Detail

getAcceptedAlgorithms

java.util.Set<JWSAlgorithm> getAcceptedAlgorithms()
Gets the names of the accepted JWS algorithms. These correspond to the alg JWS header parameter.

Returns:
The accepted JWS algorithms as a read-only set, empty set if none.

setAcceptedAlgorithms

void setAcceptedAlgorithms(java.util.Set<JWSAlgorithm> acceptedAlgs)
Sets the names of the accepted JWS algorithms. These correspond to the alg JWS header parameter.

Parameters:
acceptedAlgs - The accepted JWS algorithms. Must be a subset of the supported algorithms and not null.


Copyright © 2013 NimbusDS. All Rights Reserved.