aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObjectHelper.java112
1 files changed, 56 insertions, 56 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObjectHelper.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObjectHelper.java
index fa44811..612df78 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObjectHelper.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObjectHelper.java
@@ -1,56 +1,56 @@
-/**
- *
- */
-package at.knowcenter.wag.egov.egiz.sig.connectors.bku;
-
-import at.knowcenter.wag.egov.egiz.sig.SignatureObject;
-import at.knowcenter.wag.egov.egiz.sig.SignatureTypes;
-
-/**
- * @author wprinz
- *
- */
-public abstract class SignSignatureObjectHelper
-{
- public static String retrieveStringValueFromSignatureObject (SignSignatureObject so, String key)
- {
- // mandatory
- if (key.equals(SignatureTypes.SIG_DATE))
- {
- return so.getDate();
- }
- if (key.equals(SignatureTypes.SIG_VALUE))
- {
- return so.getSignatureValue();
- }
- if (key.equals(SignatureTypes.SIG_ISSUER))
- {
- return so.getIssuer();
- }
- if (key.equals(SignatureTypes.SIG_NUMBER))
- {
- return so.getSerialNumber();
- }
-
- // connector
- if (key.equals(SignatureTypes.SIG_ID))
- {
- return so.getSigID();
- }
-
- // algorithm
- if (key.equals(SignatureTypes.SIG_KZ))
- {
- return so.getSigKZ();
- }
-
- // additional
- if (key.equals(SignatureTypes.SIG_NAME))
- {
- return so.getName();
- }
-
- throw new RuntimeException("The key '" + key + "' is not a recognized SignatorObject member."); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
-}
+///**
+// *
+// */
+//package at.knowcenter.wag.egov.egiz.sig.connectors.bku;
+//
+//import at.knowcenter.wag.egov.egiz.sig.SignatureObject;
+//import at.knowcenter.wag.egov.egiz.sig.SignatureTypes;
+//
+///**
+// * @author wprinz
+// *
+// */
+//public abstract class SignSignatureObjectHelper
+//{
+// public static String retrieveStringValueFromSignatureObject (SignSignatureObject so, String key)
+// {
+// // mandatory
+// if (key.equals(SignatureTypes.SIG_DATE))
+// {
+// return so.getDate();
+// }
+// if (key.equals(SignatureTypes.SIG_VALUE))
+// {
+// return so.getSignatureValue();
+// }
+// if (key.equals(SignatureTypes.SIG_ISSUER))
+// {
+// return so.getIssuer();
+// }
+// if (key.equals(SignatureTypes.SIG_NUMBER))
+// {
+// return so.getSerialNumber();
+// }
+//
+// // connector
+// if (key.equals(SignatureTypes.SIG_ID))
+// {
+// return so.getSigID();
+// }
+//
+// // algorithm
+// if (key.equals(SignatureTypes.SIG_KZ))
+// {
+// return so.getSigKZ();
+// }
+//
+// // additional
+// if (key.equals(SignatureTypes.SIG_NAME))
+// {
+// return so.getName();
+// }
+//
+// throw new RuntimeException("The key '" + key + "' is not a recognized SignatorObject member."); //$NON-NLS-1$ //$NON-NLS-2$
+// }
+//
+//}