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