Created
December 18, 2013 22:32
-
-
Save vaskaloidis/8031023 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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