From b5cfe1746ca36861a0bf8039681f27275b9b9e59 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Wed, 5 Feb 2014 10:26:10 -0500 Subject: Add strength and algorithm to KeyData and KeyInfo classes Make sure these are updated so that clients can get this information when accessing a symmetric key. Also allow a default for generation requests (but not for archival requests). --- base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/java-tools') diff --git a/base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java b/base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java index f205506aa..03e545f02 100644 --- a/base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java @@ -66,7 +66,7 @@ public class KeyCLI extends CLI { if (info.getClientID() != null) System.out.println(" Client ID: "+info.getClientID()); if (info.getStatus() != null) System.out.println(" Status: "+info.getStatus()); if (info.getAlgorithm() != null) System.out.println(" Algorithm: "+info.getAlgorithm()); - if (info.getSize() != null) System.out.println(" Size: "+info.getSize()); + if (info.getStrength() != null) System.out.println(" Size: "+info.getStrength()); if (info.getOwnerName() != null) System.out.println(" Owner: "+info.getOwnerName()); } -- cgit