summaryrefslogtreecommitdiff
path: root/pdf-over-signator
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 14:36:45 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 14:36:45 +0200
commit9144df55ff7eac00f7633da6b8e4b58bab923d1f (patch)
treee5730190bb66cab4f66deb7c81ad8bea491faaec /pdf-over-signator
parent72039038a2e71c065ba709fc5e3ae194100110ed (diff)
downloadpdf-over-9144df55ff7eac00f7633da6b8e4b58bab923d1f.tar.gz
pdf-over-9144df55ff7eac00f7633da6b8e4b58bab923d1f.tar.bz2
pdf-over-9144df55ff7eac00f7633da6b8e4b58bab923d1f.zip
YAGNI: SigningState interface
Diffstat (limited to 'pdf-over-signator')
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java65
1 files changed, 0 insertions, 65 deletions
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java
deleted file mode 100644
index 58263e08..00000000
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright 2012 by A-SIT, Secure Information Technology Center Austria
- *
- * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
- * the European Commission - subsequent versions of the EUPL (the "Licence");
- * You may not use this work except in compliance with the Licence.
- * You may obtain a copy of the Licence at:
- * http://joinup.ec.europa.eu/software/page/eupl
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the Licence is distributed on an "AS IS" basis,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the Licence for the specific language governing permissions and
- * limitations under the Licence.
- */
-package at.asit.pdfover.signator;
-
-/**
- * The state of the pdf signing library
- */
-public interface SigningState {
-
- /**
- * Gets the Security Layer Request to create the signature
- * @return The Signature Request
- */
- public SLRequest getSignatureRequest();
-
- /**
- * Sets whether to use base64 (or FileUpload) for request data
- * @param useBase64Request whether to use base64 for request data
- */
- public void setUseBase64Request(boolean useBase64Request);
-
- /**
- * Sets the Security Layer Response to the Signature Request
- * @param value The Signature Response
- */
- public void setSignatureResponse(SLResponse value);
-
- /**
- * Has the state a SignatureResponse set ?
- * @return true if a SLResponse is set
- */
- public boolean hasSignatureResponse();
-
- /**
- * Set the BKU connector
- * @param connector the BKU connector
- */
- public void setBKUConnector(BkuSlConnector connector);
-
- /**
- * Set the KeyStore signer
- * @param file KeyStore filename
- * @param alias KeyStore alias
- * @param kspassword KeyStore password
- * @param keypassword KeyStore private key password
- * @param type KeyStore type
- * @throws SignatureException
- */
- public void setKSSigner(String file, String alias, String kspassword,
- String keypassword, String type) throws SignatureException;
-
-}