summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/key/KeyCLI.java
Commit message (Collapse)AuthorAgeFilesLines
* Add realm to the key recordAde Lee2016-04-201-0/+2
| | | | Part of Trac Ticket# 2041
* Fixed NPE in key-archive CLI.Endi S. Dewata2015-07-021-2/+8
| | | | | | | | The pki CLI has been modified such that if the security database location (-d) is not specified, the config.certDatabase will be initialized with the default value (i.e. ~/.dogtag/nssdb). The config.certDatabase is needed by the CLI to prepare the client library for key archival operations.
* Fixed pki help CLI.Endi S. Dewata2015-07-021-0/+5
| | | | | | A new findModules() method has been added to the CLI class to find the list of modules handling a command. The list will be used by the pki help CLI to find the proper man page for the specified command.
* Added key-show option.Endi S. Dewata2015-05-141-6/+9
| | | | | The key-show CLI has been modified to provide an option to find the active key info using the client key ID.
* Fix public key print format in KeyCLI.Abhishek Koneru2014-09-041-5/+1
|
* Makes output of secrets consistent for all clients.Abhishek Koneru2014-08-291-1/+2
| | | | | | All the secrets/keys retrieved using the client API's using Java/python clients will be of the type - byte array. This applies to output of the retrieveKey method and the public key attribute of the KeyInfo object.
* Fixes for tickets 1087, 1089, 1090, 1091.Abhishek Koneru2014-08-291-1/+1
| | | | | Addresses upstream issues in the pki key-* CLI commands. Updates the man page in all the required cases.
* Generate asymmetric keys in the DRM.Abhishek Koneru2014-08-271-0/+12
| | | | | | | | | | | | Adds methods to key client to generate asymmetric keys using algorithms RSA and DSA for a valid key sizes of 512, 1024, 2048,4096. The generated keys are archived in the database. Using the CLI, the public key(base64 encoded) can be retrieved by using the key-show command. The private key(base64 encoded) can be retrieved using the key-retrieve command. Ticket #1023
* Fixes for comments on patches 87 and 89Abhishek Koneru2014-04-161-3/+3
|
* Added new CLI commands for Key resource.Abhishek Koneru2014-04-161-1/+23
| | | | | key-archive, key-retrieve, key-recover, key-generate, key-request-review, key-template-show, key-template-find
* New CLI commands for Key and KeyRequest resources.Abhishek Koneru2014-04-161-0/+3
| | | | | This patch adds three new CLI commands - KeyShowCLI, KeyRequestShowCLI, KeyModifyCLI
* reame client_id to client_key_idAde Lee2014-02-261-1/+1
|
* Fix minor issues from review.Ade Lee2014-02-101-1/+1
| | | | | | 1. Use size/keySize consistently, instead of strength. 2. Change to using Integer instead of int in SymKeyGenerationRequest. 3. Fix error message.
* Add strength and algorithm to KeyData and KeyInfo classesAde Lee2014-02-101-1/+1
| | | | | | 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).
* Address review commentsAde Lee2014-02-041-2/+2
| | | | | | | | | 1. Remove Link attribute from ResourceMessage, 2. Rename KeyDataInfo and KeyDataInfoCollection. 3. Move KEYGEN_ALGORITHMS 4. Fix missing space in PKIException 5. Move properties to attributes in ResourceMessage 6. Add missing code to update the request and set IRequest.RESULT
* Fixed CLI authentication issue.Endi S. Dewata2013-10-011-1/+7
| | | | | | | Previously the CLI authentication could fail because it's using a fixed default subsystem which may not match the command it's trying to execute. The CLI has now been modified to use the appropriate default subsystem depending on the command to be executed.
* Refactored CLI framework.Endi S. Dewata2013-10-011-24/+1
| | | | | The CLI framework has been modified to remove duplicate code in various CLI modules.
* Refactored CLI framework.Endi S. Dewata2013-08-231-25/+10
| | | | | | | | | | Some common CLI methods and attributes have been refactored into the CLI base class. A new SubsystemCLI class was added as the base for subsystem CLI modules. The MainCLI was modified such that it will only perform authentication if the subsystem is specified in the server URI. If no subsystem is specified in the URI, the authentication will be done by the subsystem CLI module. Ticket #701
* Refactored code to import CA certificate.Endi Sukma Dewata2013-04-251-1/+1
| | | | | | | | | | | | | The code to import CA certificate has been moved from PKIConnection into PKIClient to allow reuse. The Client classes have been modified such that it uses a shared PKIClient object instead of PKIConnection. The return codes in CertFindCLI has been fixed to be more consistent with other commands. Ticket #491
* Enabled authentication for key services.Endi Sukma Dewata2012-10-291-0/+111
The web.xml in KRA has been modified to enable the authentication for key and key request services. Some tools have been added to access the services via command-line. Ticket #376