001package com.nimbusds.jose;
002
003
004import java.util.Set;
005
006
007/**
008 * JSON Web Signature (JWS) provider
009 *
010 * <p>The JWS provider can be queried to determine its algorithm capabilities.
011 *
012 * @author  Vladimir Dzhuvinov
013 * @version 2015-05-26
014 */
015public interface JWSProvider extends JOSEProvider {
016
017
018        /**
019         * Returns the names of the supported algorithms by the JWS provider
020         * instance. These correspond to the {@code alg} JWS header parameter.
021         *
022         * @return The supported JWS algorithms, empty set if none.
023         */
024        Set<JWSAlgorithm> supportedJWSAlgorithms();
025}