aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-02-05 10:55:04 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-02-05 10:55:04 +0100
commita0bfe818095656234eca2f5cbaa093ea49a0122d (patch)
tree0c634a9d09453247beb4a4de9b4a373f91010554 /pdf-as-lib/src/main/java/at
parenta8183a22b3a5bd9b062a1cded09a75ec8fa3be8e (diff)
downloadpdf-as-4-a0bfe818095656234eca2f5cbaa093ea49a0122d.tar.gz
pdf-as-4-a0bfe818095656234eca2f5cbaa093ea49a0122d.tar.bz2
pdf-as-4-a0bfe818095656234eca2f5cbaa093ea49a0122d.zip
MOA-SS integration done
Diffstat (limited to 'pdf-as-lib/src/main/java/at')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/sl/util/MOAConnector.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/MOAConnector.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/MOAConnector.java
index 61b11d29..bd8f5d8d 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/MOAConnector.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/MOAConnector.java
@@ -7,23 +7,19 @@ import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
-import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.security.cert.CertificateException;
-import javax.activation.DataHandler;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
-import org.apache.axis2.databinding.types.Token;
import org.apache.commons.codec.binary.Base64;
import org.apache.http.HttpResponse;
import org.apache.http.client.entity.EntityBuilder;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.ContentType;
-import org.apache.http.entity.mime.MultipartEntityBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.slf4j.Logger;
@@ -34,22 +30,8 @@ import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
-import at.gv.egiz.moa.ByteArrayDataSource;
-import at.gv.egiz.moa.SignatureCreationServiceStub;
-import at.gv.egiz.moa.SignatureCreationServiceStub.CMSContentBaseType;
-import at.gv.egiz.moa.SignatureCreationServiceStub.CreateCMSSignatureRequest;
-import at.gv.egiz.moa.SignatureCreationServiceStub.CreateCMSSignatureResponse;
-import at.gv.egiz.moa.SignatureCreationServiceStub.CreateSignatureInfo_type0;
-import at.gv.egiz.moa.SignatureCreationServiceStub.DataObjectInfo_type1;
-import at.gv.egiz.moa.SignatureCreationServiceStub.DataObject_type1;
-import at.gv.egiz.moa.SignatureCreationServiceStub.KeyIdentifierType;
-import at.gv.egiz.moa.SignatureCreationServiceStub.MetaInfoType;
-import at.gv.egiz.moa.SignatureCreationServiceStub.MimeTypeType;
-import at.gv.egiz.moa.SignatureCreationServiceStub.SingleSignatureInfo_type1;
-import at.gv.egiz.moa.SignatureCreationServiceStub.Structure_type1;
import at.gv.egiz.pdfas.common.exceptions.PdfAsException;
import at.gv.egiz.pdfas.common.exceptions.PdfAsMOAException;
-import at.gv.egiz.pdfas.common.utils.StreamUtils;
import at.gv.egiz.pdfas.lib.api.Configuration;
public class MOAConnector implements ISignatureConnector {