summaryrefslogtreecommitdiffstats
path: root/pki/base/util/src/com/netscape
Commit message (Collapse)AuthorAgeFilesLines
* Removed unnecessary pki folder.Endi Sukma Dewata2012-03-26104-10568/+0
| | | | | | | | | Previously the source code was located inside a pki folder. This folder was created during svn migration and is no longer needed. This folder has now been removed and the contents have been moved up one level. Ticket #131
* Removed unused variables (part 2).Endi Sukma Dewata2012-03-233-7/+6
| | | | | | This patch brings down the warnings from 1943 to 1221. Ticket #103
* Escape parameter values in search filter.Endi Sukma Dewata2012-03-141-0/+26
| | | | | | | | 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
* Fixes to cloning and security domain tables for client auth internaldb userAde Lee2012-03-091-1/+6
| | | | | | | | | | | | | | | | | | | | | The mechanism for getting an ldap connection to the internaldb was incorrect, both in the Security Domain Session Table and the DatabasePanel. As a result, connections to the internaldb failed for accessing the security domain session table and when trying to clone a master which connects to its database using client auth. The thread that handles reading the security domain session table is now only instantiated when running on a configured security domain master. Additionally, needed acls for the client auth certificate ldap user have been moved to manager.ldif. This includes acls to allow creation and management of replication agreements and replication users (now being created under ou=csusers, cn=config) Added logs to show when ldif import errors occur. Also made sure to write and remove master ldap password for use in replication. Ticket #5
* Option to create ECC credentials for adminAndrew Wnuk2012-03-061-0/+4
| | | | | | Configuration wizard should provide option to issue ECC credentials for admin during ECC CA configuration. Bug #784387.
* Replaced BtoA/AtoB with Apache codec.Endi Sukma Dewata2012-02-231-2/+4
| | | | | | | | The OSUtil's BtoA() and AtoB() have been replaced by Base64 codec from Apache Commons library. The codec is configured to use 64-byte line width as defined in RFC 1421. Ticket #90
* Consolidated BtoA/AtoB invocations.Endi Sukma Dewata2012-02-233-15/+26
| | | | | | | | The OSUtil's BtoA() and AtoB() have been replaced with wrapper methods in com.netscape.cmsutil.util.Utils to simplify transition into Base64 codec from Apache Commons library. Ticket #90
* Removed unused variables (part 1).Endi Sukma Dewata2012-02-205-17/+2
| | | | | | This patch brings down the warnings from 2917 to 2406. Ticket #103
* Added generics (part 4).Endi Sukma Dewata2012-02-147-9/+20
| | | | | | This patch brings down the warnings from 3427 to 2917. Ticket #2
* Moved client functions to CryptoUtil.java and added GenPKIArchiveOptions toolAde Lee2012-02-131-0/+143
|
* Added generics (part 3).Endi Sukma Dewata2012-02-062-2/+2
| | | | | | This patch brings down the warnings from 3992 to 3500. Ticket #2
* Added generics (part 2).Endi Sukma Dewata2012-01-183-13/+13
| | | | | | This patch brings down the warnings from 4648 to 3992. Ticket #2
* Added generics (part 1).Endi Sukma Dewata2012-01-182-12/+16
| | | | | | | This patch is based on Adam's patch. It brings down the warnings from 6139 to 4648. Ticket #2
* Formatting - line wrap > 120 in codeAde Lee2012-01-113-3/+6
|
* Formatting (no line wrap in comments or code)Ade Lee2012-01-11104-2446/+2069
|
* Removal of unused private methodsAdam Young2011-12-208-33/+1
| | | | | | | | | | | | These methods are uncallable. There might be some discussion about the private default constructores. The Rules of Java are different from C++: If there is any constructor defined, all the other defaults befome uncallable. Thus, the private default constructors are not needed. https://bugzilla.redhat.com/show_bug.cgi?id=728303 Conflicts: pki/base/ca/src/com/netscape/ca/CRLIssuingPoint.java
* Revert "Formatting"Ade Lee2011-12-08104-2351/+2914
| | | | This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
* FormattingAde Lee2011-12-07104-2914/+2351
| | | | Formatted project according to eclipse project settings
* call statics staticallyAdam Young2011-12-062-4/+3
| | | | | | | 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-024-0/+18
| | | | Autogenerated SerialVersionID for all serializable classes
* Cleanup importsadmiyo2011-11-04100-451/+461
| | | | | | | | | | 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
* Bug 737122 - DRM: during archiving and recovering, wrapping unwrapping keys ↵cfu2011-10-211-0/+7
| | | | | | should be done in the token git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2273 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla 730146 - SSL handshake picks non-FIPS ciphers in FIPS modecfu2011-08-261-0/+12
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2180 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #642741 - CS build uses deprecated functionsmharmsen2011-01-132-6/+8
| | | | | | | | - removed references to "sun.misc.BASE64Encoder" - removed references to "sun.misc.BASE64Decoder" git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1731 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 651977 - turn off ssl2 for java servers (server.xml) - patch 2cfu2010-11-221-2/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1583 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* BZ488253, BZ551410, BZ550331 - oscp asn1 encoding fixes, including code ↵vakwetu2010-11-093-440/+512
| | | | | | provided by David Studzman git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1482 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 645874 - rfe ecc - add ecc curve name support in JSS and CS interfacecfu2010-11-031-0/+59
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1467 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 635033 - At installation wizard selecting key types other than CA's ↵cfu2010-09-261-6/+7
| | | | | | signing cert will fail git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1319 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bugs: 621327 and 621334.awnuk2010-09-211-11/+43
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1313 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bugs: 621337, 621338.awnuk2010-09-101-0/+7
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1289 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #224945 - javadocs has missing descriptions, contains empty ↵mharmsen2010-08-1820-20/+60
| | | | | | packages (agreed upon fixes to pki-util javadocs attachment #439177). git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1213 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #224945 - javadocs has missing descriptions, contains empty ↵mharmsen2010-08-1820-20/+20
| | | | | | packages (applied 'svn:keywords' per attachment 439032). git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1211 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #224945 - javadocs has missing descriptions, contains empty ↵mharmsen2010-08-182-11/+16
| | | | | | packages (Fixed compilation issues of attachment #439031). git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1209 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* merge 8.1 -> tip, multiple bugs (base)alee2010-07-271-10/+100
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1134 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #465507 - Enhancement: Support SHA2 + EC signature algorithmscfu2009-08-261-0/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@777 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla bug #471318awnuk2009-06-061-23/+79
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@558 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #455305 - CA ECC signing Key Failurecfu2009-06-031-0/+12
| | | | | | | Bugzilla Bug #223279 - ECC: Ca: unable to perform agent auth on a machine with nCipher ECC HSM git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@544 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* bz223361 - security domains in ldapalee2008-10-141-0/+10
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@127 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Initial open source version based upon proprietary Red Hat Certificate ↵PKI Team2008-03-18104-0/+10342
System (RHCS) 7.3. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2 c9f7a03b-bd48-0410-a16d-cbbf54688b0b