From 33dfef091acd2d28e68658c8e0bcb4e67027d1e1 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Thu, 3 Nov 2016 16:17:03 +0100 Subject: Workaround for finding EC OID if ECCelerate not loaded first --- .../java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java | 4 ++-- .../src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bkucommon/src') diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java index b2643d8e..f1032f7f 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java @@ -60,7 +60,7 @@ import at.gv.egiz.bku.slexceptions.SLCommandException; import at.gv.egiz.bku.slexceptions.SLExceptionMessages; import at.gv.egiz.bku.slexceptions.SLRuntimeException; import at.gv.egiz.idlink.CompressedIdentityLinkFactory; -import at.gv.egiz.idlink.ans1.IdentityLink; +import at.gv.egiz.idlink.asn1.IdentityLink; import at.gv.egiz.stal.InfoboxReadRequest; import at.gv.egiz.stal.STALRequest; @@ -216,7 +216,7 @@ public class IdentityLinkInfoboxImpl extends AbstractBinaryFileInfobox { xmlResult = new StreamResult(resultBytes); } } - + try { log.trace("Trying to transform identitylink"); identityLinkTransformer.transformIdLink(issuerTemplate, new DOMSource(document), xmlResult); diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java index 384521df..d521dd37 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java @@ -46,7 +46,7 @@ import org.slf4j.LoggerFactory; import at.gv.egiz.bku.slexceptions.SLCommandException; import at.gv.egiz.bku.slexceptions.SLExceptionMessages; import at.gv.egiz.bku.slexceptions.SLRuntimeException; -import at.gv.egiz.idlink.ans1.IdentityLink; +import at.gv.egiz.idlink.asn1.IdentityLink; import at.gv.egiz.stal.ErrorResponse; import at.gv.egiz.stal.InfoboxReadResponse; import at.gv.egiz.stal.STAL; @@ -198,7 +198,7 @@ public class STALHelper { writer.write("\n-----END CERTIFICATE-----"); writer.flush(); } catch (IOException e1) { - log.info("Failed to decode certificate.", e); + log.debug("Failed to decode certificate.", e1); } log.debug("Failed to decode certificate.\n{}", certDump.toString(), e); } else { -- cgit v1.2.3