com.nimbusds.jose
Interface JWSAlgorithmProvider

All Known Subinterfaces:
JWSSigner, JWSVerifier
All Known Implementing Classes:
ECDSASigner, ECDSAVerifier, MACSigner, MACVerifier, RSASSASigner, RSASSAVerifier

public interface JWSAlgorithmProvider

Common interface for JSON Web Signature (JWS) signers and verifiers.

Callers can query the JWS provider to determine its algorithm capabilities.

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

Method Summary
 Set<JWSAlgorithm> supportedAlgorithms()
          Returns the names of the supported JWS algorithms.
 

Method Detail

supportedAlgorithms

Set<JWSAlgorithm> supportedAlgorithms()
Returns the names of the supported JWS algorithms. These correspond to the alg JWS header parameter.

Returns:
The supported JWS algorithms, empty set if none.


Copyright © 2013 NimbusDS. All Rights Reserved.