summaryrefslogtreecommitdiffstats
path: root/base/java-tools
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2014-02-05 10:26:10 -0500
committerAde Lee <alee@redhat.com>2014-02-10 11:23:08 -0500
commitb5cfe1746ca36861a0bf8039681f27275b9b9e59 (patch)
treed3b0459d11d7cb6484210ea73ed61444be6acc2b /base/java-tools
parent384766e25d952ba358d03ec22953a9481bb58d4b (diff)
downloadpki-b5cfe1746ca36861a0bf8039681f27275b9b9e59.tar.gz
pki-b5cfe1746ca36861a0bf8039681f27275b9b9e59.tar.xz
pki-b5cfe1746ca36861a0bf8039681f27275b9b9e59.zip
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).
Diffstat (limited to 'base/java-tools')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java2
1 files changed, 1 insertions, 1 deletions
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());
}