diff options
Diffstat (limited to 'pdf-over/pdf-signer-interface/src/main/java')
12 files changed, 37 insertions, 21 deletions
diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/CollimatingMark.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/CollimatingMark.java deleted file mode 100644 index 1d209671..00000000 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/CollimatingMark.java +++ /dev/null @@ -1,5 +0,0 @@ -package at.asit.pdfover.pdfsignator; - -public class CollimatingMark { - -} diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/CollimatingMark.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/CollimatingMark.java new file mode 100644 index 00000000..ad956fa7 --- /dev/null +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/CollimatingMark.java @@ -0,0 +1,5 @@ +package at.asit.pdfover.pdfsigner; + +public class CollimatingMark { + +} diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/DocumentSource.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/DocumentSource.java index 3550596c..af377c44 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/DocumentSource.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/DocumentSource.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; /** * A Document Source diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/PDFSignatureException.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignatureException.java index 78e66e01..19253af1 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/PDFSignatureException.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignatureException.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; /** * base class for signature exceptions diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/PDFSignerInterface.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerInterface.java index e7ceeff6..6c8aa83b 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/PDFSignerInterface.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerInterface.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; import java.security.SignatureException; diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLRequest.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLRequest.java new file mode 100644 index 00000000..74ad5862 --- /dev/null +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLRequest.java @@ -0,0 +1,13 @@ +package at.asit.pdfover.pdfsigner; + +/** + * Securtiy Layer Request + * @author afitzek + */ +public interface SLRequest { + /** + * Gets the signature data for this request + * @return The document source + */ + public DocumentSource GetSignatureData(); +} diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLResponse.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLResponse.java new file mode 100644 index 00000000..4d2e594a --- /dev/null +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLResponse.java @@ -0,0 +1,9 @@ +package at.asit.pdfover.pdfsigner; + +/** + * Securtiy Layer Response + * @author afitzek + */ +public class SLResponse { + +} diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java index 847d9cd5..6357fe11 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; import javax.security.cert.Certificate; diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureDimension.java index 5bff2da8..57f628af 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureDimension.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; /** * The Dimensions of the visible signature block diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureParameter.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureParameter.java index e50b2751..422b2c75 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureParameter.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureParameter.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; /** * The Signature Parameter diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignaturePosition.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignaturePosition.java index 48b320b3..f6d2aa81 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignaturePosition.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignaturePosition.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; /** diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SigningState.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SigningState.java index 77479c12..ac0c736a 100644 --- a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SigningState.java +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SigningState.java @@ -1,4 +1,4 @@ -package at.asit.pdfover.pdfsignator; +package at.asit.pdfover.pdfsigner; /** * The state of the pdf signing library @@ -7,20 +7,14 @@ package at.asit.pdfover.pdfsignator; public interface SigningState { /** - * Gets the prepared Document - * @return - */ - public DocumentSource GetPreparedDocument(); - - /** * Gets the Security Layer Request to create the signature * @return The SL Signature Request */ - public String GetSLSignatureRequest(); + public SLRequest GetSLSignatureRequest(); /** * Sets the Security Layer Request to create the signature * @param value The SL Signature Request */ - public void SetSLSignatureResponse(String value); + public void SetSLSignatureResponse(SLResponse value); } |