diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-01 09:10:44 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-01 09:10:44 +0000 |
commit | 72c6d00a38fec5e7b448435b37a8b032893dd2e8 (patch) | |
tree | 3af3a481cb961bd57672a0c70f480bd8bc7ad10c /trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java | |
parent | f2b1ed073e001e0c2391b3b3c00810e5c0b362a6 (diff) | |
download | pdf-over-72c6d00a38fec5e7b448435b37a8b032893dd2e8.tar.gz pdf-over-72c6d00a38fec5e7b448435b37a8b032893dd2e8.tar.bz2 pdf-over-72c6d00a38fec5e7b448435b37a8b032893dd2e8.zip |
PDFSignerInterface updated
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12245 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java')
-rw-r--r-- | trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java | 61 |
1 files changed, 9 insertions, 52 deletions
diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java index 56d98952..847d9cd5 100644 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java +++ b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignResult.java @@ -2,70 +2,27 @@ package at.asit.pdfover.pdfsignator; import javax.security.cert.Certificate; -public class SignResult { - - /** - * The position of the signatur - * @uml.associationEnd multiplicity="(1 1)" aggregation="composite" inverse="signResult:at.asit.pdfover.pdfsignator.SignaturePosition" - */ - protected SignaturePosition signaturePosition = null; +/** + * Signature Result containing the signed document as document source + * @author afitzek + */ +public interface SignResult { /** * Getter of the property <tt>signaturePosition</tt> * @return Returns the signaturePosition. */ - public SignaturePosition GetSignaturePosition() { - return signaturePosition; - } - - /** - * Setter of the property <tt>signaturePosition</tt> - * @param signaturePosition The signaturePosition to set. - */ - public void SetSignaturePosition(SignaturePosition signaturePosition) { - this.signaturePosition = signaturePosition; - } - - /** - * The signed Document - * @uml.associationEnd multiplicity="(1 1)" aggregation="shared" inverse="signResult:at.asit.pdfover.pdfsignator.DocumentSource" - */ - protected DocumentSource documentSource = null; - + public SignaturePosition GetSignaturePosition(); + /** * Gets the signed Document * @return Returns the documentSource. */ - public DocumentSource GetDocumentSource() { - return documentSource; - } + public DocumentSource GetSignedDocument(); /** - * Setter of the property <tt>documentSource</tt> - * @param documentSource The documentSource to set. - */ - public void SetDocumentSource(DocumentSource documentSource) { - this.documentSource = documentSource; - } - - /** - * The signer certificate - */ - protected Certificate signerCertificate; - - /** - * Sets the signer certificate - * @param cert The signer certificate - */ - public void SetSignerCertificate(Certificate cert) { - this.signerCertificate = cert; - } - - /** * Gets the signer certificate * @return The signer x509 certificate */ - public Certificate SetSignerCertificate() { - return this.signerCertificate; - } + public Certificate GetSignerCertificate(); } |