Skip to content

Instantly share code, notes, and snippets.

@vaskaloidis
Created December 18, 2013 22:32
Show Gist options
  • Select an option

  • Save vaskaloidis/8031023 to your computer and use it in GitHub Desktop.

Select an option

Save vaskaloidis/8031023 to your computer and use it in GitHub Desktop.
package edu.hartford.cs375.digsig.web;
import java.util.List;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import edu.hartford.cs375.digsig.ejb.DigitallySignedString;
@WebService(targetNamespace="http://cs375.hartford.edu/digsig/1.0.1")
public interface DigitalSignatureWebService {
@WebResult(targetNamespace="http://cs375.hartford.edu/digsig/1.0.1")
public DigitallySignedString sign(String textToSign);
@WebResult(targetNamespace="http://cs375.hartford.edu/digsig/1.0.1")
public boolean verify(String text, String digitalSignature);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment