diff options
author | Ade Lee <alee@redhat.com> | 2016-04-16 11:21:17 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2016-04-20 17:29:33 -0400 |
commit | bb6fd9e1a73e2ee224fc9332681fb59113f94d8f (patch) | |
tree | cdd9ca88457417365b8a70062fba5edf1a10a492 /base/java-tools/src/com | |
parent | 4fddcd370e6f3d47f252eec8077cbca379d4e281 (diff) | |
download | pki-bb6fd9e1a73e2ee224fc9332681fb59113f94d8f.tar.gz pki-bb6fd9e1a73e2ee224fc9332681fb59113f94d8f.tar.xz pki-bb6fd9e1a73e2ee224fc9332681fb59113f94d8f.zip |
Add realm to the key record
Part of Trac Ticket# 2041
Diffstat (limited to 'base/java-tools/src/com')
-rw-r--r-- | base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java | 2 |
1 files changed, 2 insertions, 0 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 f242ece14..d2b425b9f 100644 --- a/base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java @@ -108,6 +108,7 @@ public class KeyCLI extends CLI { if (info.getAlgorithm() != null) System.out.println(" Algorithm: "+info.getAlgorithm()); if (info.getSize() != null) System.out.println(" Size: "+info.getSize()); if (info.getOwnerName() != null) System.out.println(" Owner: "+info.getOwnerName()); + if (info.getRealm() != null) System.out.println(" Realm: " + info.getRealm()); if (info.getPublicKey() != null) { // Print out the Base64 encoded public key in the form of a blob, // where the max line length is 64. @@ -123,5 +124,6 @@ public class KeyCLI extends CLI { if (info.getKeyId() != null) System.out.println(" Key ID: "+info.getKeyId().toHexString()); if (info.getRequestType() != null) System.out.println(" Type: "+info.getRequestType()); if (info.getRequestStatus() != null) System.out.println(" Status: "+info.getRequestStatus()); + if (info.getRealm() != null) System.out.println(" Realm: "+ info.getRealm()); } } |