diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-12-10 09:32:25 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-12-10 09:32:25 +0000 |
commit | 725893dd83289af0948eeeaf39907e87cc41c9ae (patch) | |
tree | 641ad1a8380066fc5a7cd840c6013888c40dac85 /src/main/java/at/knowcenter | |
parent | 828790ea48d86a5c485c000eac60354f4471ed3b (diff) | |
download | pdf-as-3-725893dd83289af0948eeeaf39907e87cc41c9ae.tar.gz pdf-as-3-725893dd83289af0948eeeaf39907e87cc41c9ae.tar.bz2 pdf-as-3-725893dd83289af0948eeeaf39907e87cc41c9ae.zip |
added atrust bku support
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@499 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/signaturelayout/atrust/ATrustSignatureLayoutHandler.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/signaturelayout/atrust/ATrustSignatureLayoutHandler.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/signaturelayout/atrust/ATrustSignatureLayoutHandler.java index c6725b7..e8419fb 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/signaturelayout/atrust/ATrustSignatureLayoutHandler.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/signaturelayout/atrust/ATrustSignatureLayoutHandler.java @@ -4,7 +4,7 @@ import at.knowcenter.wag.egov.egiz.exceptions.ConnectorException; import at.knowcenter.wag.egov.egiz.sig.connectors.ConnectorEnvironment;
import at.knowcenter.wag.egov.egiz.sig.connectors.bku.SignSignatureObject;
import at.knowcenter.wag.egov.egiz.sig.connectors.moa.MOAHelper;
-import at.knowcenter.wag.egov.egiz.sig.sigid.DetachedLocRefMOAIdFormatter;
+import at.knowcenter.wag.egov.egiz.sig.sigid.SimpleIdFormatter;
import at.knowcenter.wag.egov.egiz.sig.signaturelayout.SignatureLayoutHandler;
/**
@@ -14,9 +14,11 @@ import at.knowcenter.wag.egov.egiz.sig.signaturelayout.SignatureLayoutHandler; */
public class ATrustSignatureLayoutHandler implements SignatureLayoutHandler {
+ public static final String ETSI_BKA_ATRUST_1_0 = "etsi-bka-atrust-1.0";
+
public SignSignatureObject parseCreateXMLSignatureResponse(String xmlResponse,
ConnectorEnvironment env) throws ConnectorException {
- return MOAHelper.parseCreateXMLResponse(xmlResponse, new DetachedLocRefMOAIdFormatter(), env);
+ return MOAHelper.parseCreateXMLResponse(xmlResponse, new SimpleIdFormatter(ETSI_BKA_ATRUST_1_0), env);
}
}
|