From 59fc17a56117020dc3ce6ca42993f5eedbb6ae09 Mon Sep 17 00:00:00 2001 From: Christina Fu Date: Thu, 5 Apr 2012 17:39:51 -0700 Subject: pki-ui changes for Bug 745278 - [RFE] ECC encryption keys cannot be archived --- .../webapps/kra/agent/kra/displayBySerial.template | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template') diff --git a/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template b/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template index a88599ede..8b6795365 100644 --- a/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template +++ b/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template @@ -100,11 +100,17 @@ if (result.header.errorDetails != null) { document.write('' + result.header.keyAlgorithm + ''); document.writeln(''); - document.writeln(''); - document.write('Key length:'); - document.write('' + result.header.keyLength + ''); - document.writeln(''); - + if ((result.header.EllipticCurve != null)) { + document.writeln(''); + document.write('Elliptic Key Curve:'); + document.write('' + result.header.EllipticCurve + ''); + document.writeln(''); + } else { + document.writeln(''); + document.write('Key length:'); + document.write('' + result.header.keyLength + ''); + document.writeln(''); + } document.write(""); document.writeln('
 
'); -- cgit