{
Log log = LogFactory.getLog(this.getClass());
public void testRoundTrip() throws JoseException
{
AlgorithmFactoryFactory aff = AlgorithmFactoryFactory.getInstance();
AlgorithmFactory<ContentEncryptionAlgorithm> encAlgFactory = aff.getJweContentEncryptionAlgorithmFactory();
AlgorithmFactory<KeyManagementAlgorithm> algAlgFactory = aff.getJweKeyManagementAlgorithmFactory();
Set<String> supportedAlgAlgorithms = algAlgFactory.getSupportedAlgorithms();
Set<String> supportedEncAlgorithms = encAlgFactory.getSupportedAlgorithms();
String[] algArray = {KeyManagementAlgorithmIdentifiers.ECDH_ES_A128KW,