summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cms/servlet/key
Commit message (Collapse)AuthorAgeFilesLines
* Escape parameter values in search filter.Endi Sukma Dewata2012-03-141-2/+3
| | | | | | | | The REST interface was vulnerable to injection attack. This has been fixed by escaping the special characters in parameter values before using them in the search filter. Ticket #96
* Fixed DRM REST interface to use BigInteger.Endi Sukma Dewata2012-03-054-16/+28
| | | | | | | | The DRM REST interface previously uses strings for key ID and request ID. It has been modified to use KeyId and RequestId classes which can accept decimal or hex numbers and internally store it as BigInteger. Ticket #94
* Removed hard-coded REST paths.Endi Sukma Dewata2012-02-291-4/+8
| | | | | | | | The KeyDAO and KeyRequestDAO have been changed to remove hard-coded paths and use annotation reflection to get the paths from the REST interface definitions. Ticket #95
* Added generics (part 4).Endi Sukma Dewata2012-02-148-19/+11
| | | | | | This patch brings down the warnings from 3427 to 2917. Ticket #2
* KRA symmetric key cmake support.Jack Magne2012-02-131-7/+4
| | | | | | Changes to make the cmake build of this feature work. Change to the .classpath to allow the DRMTest.java test client to run under Eclipse, by adding additional jar paths to allow the client to run.
* KRA changes for archiving and recovering symmetric keys and passphrases.Jack Magne2012-02-134-17/+129
| | | | | | | | | | | | Ticket #66 and #68. Add ability to archive and recover symmetric keys and passphrases using rest interface. Enhanced test client to test out new functionality. Provided support to return recovered data either wrapped by symmetric key or wrapped in PBE password based encryption blob. DRM symmetric key support cleanup changes. Consists of suggested cleanup measures based on review comments.
* Fix test client errorsAde Lee2012-02-082-1/+2
| | | | | | | Added ClientResponse annotation to SystemCertificateResource. Added Consumes annotation to KeyResource, KeyRequestResource Added checks for empty search results to test client, as well as stripping header, trailer from transport cert.
* New DRM proxy client and testsAde Lee2012-02-084-197/+224
| | | | Added new interfaces for each Resource, and renamed old Resource service classes.
* Added generics (part 2).Endi Sukma Dewata2012-01-181-4/+4
| | | | | | This patch brings down the warnings from 4648 to 3992. Ticket #2
* Enhanced new REST search interface for keys and key requestsAde Lee2012-01-163-21/+153
| | | | | | | | | | | | Defined parameters that can be searched for in key and keyrequest searches. Searches for KeyRequests and Keys will perform VLV searches if those searches are defined. The results will include links to next and previous pages in the results. Also added maxTime and maxResults parameters for regular searches. These will be operational unless they exceed server defined limits - which are enforced at the repo level. Modified link URL from "link" to "Link"
* Big numbers fix for CA and DRM.Jack Magne2012-01-135-25/+20
| | | | | | | | | This patch resolves multiple issues related to use of big numbers on CA and DRM It also provides a fix for incomplete recovery requests causing null pointer exception. Bugs: 756133, 758505. Complete formatting changes for QueryRec.java.
* Added initial code for retrieving transport cert.Ade Lee2012-01-132-2/+5
| | | | | | | | | Resources now extend CMSResource. Addressed following review comments: * check for null pointers in SystemCertificateResource * move logic from CertificatData constructor to CMSServlet builder method * remove unused field uriInfo and replace hard-coded cache constant * fixed some formatting issues
* Initial skeleton code for drm resteasy interfaceAde Lee2012-01-135-0/+437
| | | | | | | Integrated files into current servlet structure. Allowed exceptions to bubble up to top level. Move bean initialization logic into DAO objects. Fixed "keyRequest" path to "keyrequest" in KeyRequestDAO
* Formatting (line wrap > 120 in commentsAde Lee2012-01-112-2/+4
|
* Formatting (no line wrap in comments or code)Ade Lee2012-01-1114-532/+498
|
* Revert "Formatting"Ade Lee2011-12-0814-663/+794
| | | | This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
* FormattingAde Lee2011-12-0714-794/+663
| | | | Formatted project according to eclipse project settings
* call statics staticallyAdam Young2011-12-061-1/+1
| | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=728303 Updated with changes from code review Leaving in the warning in GenericASN1Extension, ans that is an indication of a real problem, which will get addressed in a separate patch.
* SerialVersionIDAdam Young2011-12-0213-0/+54
| | | | Autogenerated SerialVersionID for all serializable classes
* Cleanup importsadmiyo2011-11-0414-357/+309
| | | | | | | | | | Automated changes done by Eclipse Minor tweak to one file where Eclipse was tring to find an import for Any Due to finding it in an annotated comment. https://bugzilla.redhat.com/show_bug.cgi?id=728303 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2292 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug 692990: Audit log messages needed to match CC doc: DRM ↵vakwetu2011-04-052-6/+67
| | | | | | Recovery audit log messages git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1943 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #224945 - javadocs has missing descriptions, contains empty ↵mharmsen2010-08-1812-12/+12
| | | | | | packages (applied 'svn:keywords' per attachment 439032). git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1211 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 608086 - CC: CA, OCSP, and DRM need to add more audit callscfu2010-07-231-2/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1130 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #522343 Add asynchronous key recovery modecfu2010-03-223-18/+619
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1027 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Initial open source version based upon proprietary Red Hat Certificate ↵PKI Team2008-03-1812-0/+2930
System (RHCS) 7.3. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2 c9f7a03b-bd48-0410-a16d-cbbf54688b0b