package com.nimbusds.jose;
import java.util.Set;
/**
* Common interface for JSON Web Signature (JWS) {@link JWSSigner signers} and
* {@link JWSVerifier verifiers}.
*
* <p>Callers can query the JWS provider to determine its algorithm
* capabilities.
*
* @author Vladimir Dzhuvinov
* @version $version$ (2012-10-04)
*/
public interface JWSAlgorithmProvider {
/**
* Returns the names of the supported JWS algorithms. These correspond
* to the {@code alg} JWS header parameter.
*
* @return The supported JWS algorithms, empty set if none.
*/
public Set<JWSAlgorithm> supportedAlgorithms();
}