aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java')
-rw-r--r--pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java138
1 files changed, 138 insertions, 0 deletions
diff --git a/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java b/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java
new file mode 100644
index 00000000..6606ec4a
--- /dev/null
+++ b/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java
@@ -0,0 +1,138 @@
+package at.gv.egiz.pdfas.wrapper;
+
+import java.io.File;
+import java.util.List;
+
+import com.sun.org.apache.xml.internal.utils.UnImplNode;
+
+import at.gv.egiz.pdfas.api.PdfAs;
+import at.gv.egiz.pdfas.api.analyze.AnalyzeParameters;
+import at.gv.egiz.pdfas.api.analyze.AnalyzeResult;
+import at.gv.egiz.pdfas.api.commons.DynamicSignatureLifetimeEnum;
+import at.gv.egiz.pdfas.api.commons.DynamicSignatureProfile;
+import at.gv.egiz.pdfas.api.exceptions.ErrorCode;
+import at.gv.egiz.pdfas.api.exceptions.PdfAsException;
+import at.gv.egiz.pdfas.api.sign.SignParameters;
+import at.gv.egiz.pdfas.api.sign.SignResult;
+import at.gv.egiz.pdfas.api.sign.SignatureDetailInformation;
+import at.gv.egiz.pdfas.api.verify.VerifyAfterAnalysisParameters;
+import at.gv.egiz.pdfas.api.verify.VerifyAfterReconstructXMLDsigParameters;
+import at.gv.egiz.pdfas.api.verify.VerifyParameters;
+import at.gv.egiz.pdfas.api.verify.VerifyResults;
+import at.gv.egiz.pdfas.api.xmldsig.ReconstructXMLDsigAfterAnalysisParameters;
+import at.gv.egiz.pdfas.api.xmldsig.ReconstructXMLDsigParameters;
+import at.gv.egiz.pdfas.api.xmldsig.ReconstructXMLDsigResult;
+
+public class PdfAsObject implements PdfAs {
+
+ public SignResult sign(SignParameters signParameters) throws PdfAsException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public SignResult sign(SignParameters signParameters,
+ SignatureDetailInformation signatureDetailInformation)
+ throws PdfAsException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public VerifyResults verify(VerifyParameters verifyParameters)
+ throws PdfAsException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public AnalyzeResult analyze(AnalyzeParameters analyzeParameters)
+ throws PdfAsException {
+ throw new PdfAsException(ErrorCode.FUNCTION_NOT_AVAILABLE,
+ new RuntimeException());
+ }
+
+ public ReconstructXMLDsigResult reconstructXMLDSIG(
+ ReconstructXMLDsigParameters reconstructXMLDsigParameters)
+ throws PdfAsException {
+ throw new PdfAsException(ErrorCode.FUNCTION_NOT_AVAILABLE,
+ new RuntimeException());
+ }
+
+ public ReconstructXMLDsigResult reconstructXMLDSIG(
+ ReconstructXMLDsigAfterAnalysisParameters reconstructXMLDsigParameters)
+ throws PdfAsException {
+ throw new PdfAsException(ErrorCode.FUNCTION_NOT_AVAILABLE,
+ new RuntimeException());
+ }
+
+ public VerifyResults verify(
+ VerifyAfterAnalysisParameters verifyAfterAnalysisParameters)
+ throws PdfAsException {
+ throw new PdfAsException(ErrorCode.FUNCTION_NOT_AVAILABLE,
+ new RuntimeException());
+ }
+
+ public VerifyResults verify(
+ VerifyAfterReconstructXMLDsigParameters verifyAfterReconstructXMLDsigParameters)
+ throws PdfAsException {
+ throw new PdfAsException(ErrorCode.FUNCTION_NOT_AVAILABLE,
+ new RuntimeException());
+ }
+
+ public void reloadConfig() throws PdfAsException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public List getProfileInformation() throws PdfAsException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public DynamicSignatureProfile createDynamicSignatureProfile(
+ String parentProfile, DynamicSignatureLifetimeEnum mode) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public DynamicSignatureProfile createDynamicSignatureProfile(
+ String myUniqueName, String parentProfile,
+ DynamicSignatureLifetimeEnum mode) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public DynamicSignatureProfile createEmptyDynamicSignatureProfile(
+ DynamicSignatureLifetimeEnum mode) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public DynamicSignatureProfile createEmptyDynamicSignatureProfile(
+ String myUniqueName, DynamicSignatureLifetimeEnum mode) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public DynamicSignatureProfile loadDynamicSignatureProfile(
+ String profileName) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public SignatureDetailInformation prepareSign(SignParameters signParameters)
+ throws PdfAsException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public SignResult finishSign(SignParameters signParameters,
+ SignatureDetailInformation signatureDetailInformation)
+ throws PdfAsException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public PdfAsObject(File workdirectory) {
+ //TODO
+ }
+
+}