diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2016-12-20 17:00:45 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2016-12-20 17:00:45 +0100 |
commit | aabb36836ebfca9fe8cdc70dff13c0be7e5e761c (patch) | |
tree | 79b1f6706f0f51fc9e8f0948268e254ddb63de49 /moaSig/moa-sig-lib/src/main/java/at/gv | |
parent | f51caf2aafe4a5bdc4383d08f74036f6be3cc31b (diff) | |
download | moa-sig-aabb36836ebfca9fe8cdc70dff13c0be7e5e761c.tar.gz moa-sig-aabb36836ebfca9fe8cdc70dff13c0be7e5e761c.tar.bz2 moa-sig-aabb36836ebfca9fe8cdc70dff13c0be7e5e761c.zip |
add next missing parts for new TSL lib
Diffstat (limited to 'moaSig/moa-sig-lib/src/main/java/at/gv')
2 files changed, 7 insertions, 5 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java index e134d57..6c826ad 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java @@ -31,7 +31,6 @@ import iaik.pki.revocation.RevocationSourceTypes; import iaik.server.modules.xml.BlackListEntry; import iaik.server.modules.xml.ExternalReferenceChecker; import iaik.server.modules.xml.WhiteListEntry; -import iaik.util.logging.Log; import iaik.utils.RFC2253NameParser; import iaik.utils.RFC2253NameParserException; import iaik.xml.crypto.utils.URI; @@ -433,7 +432,7 @@ public class ConfigurationPartsBuilder { try { defaultConnectionTimeout = Integer.parseInt(connectionTimeout); } catch(NumberFormatException e) { - Log.warn("Configuration value " + CONNECTION_TIMEOUT_XPATH_ + " should be a number defaulting to 30"); + Logger.warn("Configuration value " + CONNECTION_TIMEOUT_XPATH_ + " should be a number defaulting to 30"); } } @@ -453,7 +452,7 @@ public class ConfigurationPartsBuilder { try { defaultConnectionTimeout = Integer.parseInt(connectionTimeout); } catch(NumberFormatException e) { - Log.warn("Configuration value " + READ_TIMEOUT_XPATH_ + " should be a number defaulting to 30"); + Logger.warn("Configuration value " + READ_TIMEOUT_XPATH_ + " should be a number defaulting to 30"); } } diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java index 789336e..d8ebd85 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java @@ -46,6 +46,7 @@ import at.gv.egovernment.moa.spss.api.common.Content; import at.gv.egovernment.moa.spss.api.common.ExtendedCertificateCheckResult; import at.gv.egovernment.moa.spss.api.common.InputData; import at.gv.egovernment.moa.spss.api.common.SignerInfo; +import at.gv.egovernment.moa.spss.api.common.TslInfos; import at.gv.egovernment.moa.spss.api.impl.InputDataBinaryImpl; import at.gv.egovernment.moa.spss.api.impl.InputDataXMLImpl; import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResultInfo; @@ -160,7 +161,8 @@ public class VerifyXMLSignatureResponseBuilder { boolean checkSSCD, boolean sscdSourceTSL, boolean isTSLEnabledTrustprofile, - String issuerCountryCode) + String issuerCountryCode, + TslInfos tslInfos) throws MOAApplicationException { CertificateValidationResult certResult = @@ -187,7 +189,8 @@ public class VerifyXMLSignatureResponseBuilder { checkSSCD, sscdSourceTSL, issuerCountryCode, - result.getSigningTime()); + result.getSigningTime(), + tslInfos); // Create HashInputData Content objects referenceDataList = result.getReferenceDataList(); |