From bfa7788127c6eca54668556517981fe45528daaf Mon Sep 17 00:00:00 2001 From: Christina Fu Date: Thu, 16 Aug 2012 11:54:50 -0700 Subject: https://fedorahosted.org/pki/ticket/238 TPS installation wizard: SizePanel needs to support ECC curve selection --- .../docroot/tps/admin/console/config/sizepanel.vm | 125 ++++++++++++++++----- 1 file changed, 97 insertions(+), 28 deletions(-) (limited to 'dogtag/tps-ui/shared') diff --git a/dogtag/tps-ui/shared/docroot/tps/admin/console/config/sizepanel.vm b/dogtag/tps-ui/shared/docroot/tps/admin/console/config/sizepanel.vm index eeb62f6d8..72c095491 100644 --- a/dogtag/tps-ui/shared/docroot/tps/admin/console/config/sizepanel.vm +++ b/dogtag/tps-ui/shared/docroot/tps/admin/console/config/sizepanel.vm @@ -1,17 +1,18 @@ @@ -29,6 +30,10 @@ div#simple Select the key pair type(s) and associated key pair size(s) from the pulldown menus. [Details] +

+Note that only RSA is supported for the audit_signing certificate at this point +

+

#if ($errorString != "")  $errorString @@ -160,28 +220,31 @@ Within each key pair type (but not comparable between two different key pair typ +

+

Use the default key size ($default_keysize bits for RSA, $default_ecc_keysize bits for ECC). + onChange="defaultChange()" type=radio name="choice" value="default">Use the default key size ($default_keysize bits for RSA; curve $default_ecc_curvename for ECC).

Use the following custom key size: + onChange="customChange()" type=radio name="choice" value="custom">Use the following custom key strength:

- - + +
Key Size:Key Size or Curve (see Details above):
-

+ +

@@ -189,13 +252,18 @@ Within each key pair type (but not comparable between two different key pair typ
[Simple]
+ #foreach ($item in $certs)

Key for $item.getUserFriendlyName()

+#if ($item.getCertTag() == "audit_signing") + +#else +#end
Key Type:

@@ -203,23 +271,24 @@ Within each key pair type (but not comparable between two different key pair typ #if ($item.useDefaultKey()) checked #end - type=radio name=$item.getCertTag()_choice value="default">Use the default key size ($default_keysize bits for RSA, $default_ecc_keysize bits for ECC). + type=radio name=$item.getCertTag()_choice value="default">Use the default key size ($default_keysize bits for RSA, curve $default_ecc_curvename for ECC).

Use the following custom key size: + type=radio name=$item.getCertTag()_choice value="custom">Use the following custom key strength:

- - + +
Key Size:Key Size or Curve (see Details above):
#end

+


-- cgit