summaryrefslogtreecommitdiffstats
path: root/pki/base
Commit message (Collapse)AuthorAgeFilesLines
* Formatting (no line wrap in comments or code)Ade Lee2012-01-111322-77940/+73596
|
* Replaced byte-to-char & char-to-byte converters.Endi Sukma Dewata2012-01-1020-763/+637
| | | | | | | The byte-to-char and char-to-byte converters have been replaced with a set of charsets, each having its own decoders and encoders. Ticket #3
* Renamed byte-to-char & char-to-byte converters.Endi Sukma Dewata2012-01-108-199/+12
| | | | | | | | The byte-to-char and char-to-byte converters have been renamed in preparation for converting them into charset encoders and decoders. Ticket #3
* Added unit tests to measure conversion time.Endi Sukma Dewata2012-01-107-0/+366
| | | | | | | | New tests have been added to measure the conversion time. Currently the results are not validated, they are used to compare the performance before and after upgrading to Charset. Ticket #3
* Added unit tests for converting null characters.Endi Sukma Dewata2012-01-1011-0/+272
| | | | | | New unit tests have been added to verify bug bug 359010. Ticket #3
* Replaced TreeSet with LinkedHashSet.Endi Sukma Dewata2012-01-104-12/+12
| | | | | | The TreeSet has been replaced by LinkedHashSet because it is used to store non-Comparable objects according to the insertion order. This fixes a ClassCastException that happens while viewing Certificate Revocation List.
* BZ 771357 - sslget does not work after FEDORA-2011-17400 update,Ade Lee2012-01-051-9/+47
| | | | | | breaking FreeIPA install Modified sslget doIO() function to be able to handle small reads.
* typesafety ACL Impls Random type safety cleanups.Adam Young2012-01-049-72/+72
|
* typesafe returns on IDBSession for VirtualListAdam Young2012-01-043-43/+45
|
* type safety certserv cms and cmscoreAdam Young2012-01-0440-248/+269
| | | | Re-added files IPublshRuleSet and ILdapCertMapper
* Typesafety for certsrv.kraAdam Young2012-01-044-36/+38
|
* typesafety db and loggingAdam Young2012-01-0413-99/+102
|
* typesafety cron and jobschedulerAdam Young2012-01-044-23/+23
|
* typesafety certserv and cmscoreAdam Young2012-01-0417-44/+43
| | | | Using interface instead of implementing class
* type safety for certserv.baseAdam Young2011-12-2224-172/+174
| | | | more type safety
* type safety for certserv.authorizationAdam Young2011-12-227-56/+53
|
* type safety for certserv.authenticatorAdam Young2011-12-226-28/+25
|
* Type safety for CMS and by extension, much of commonAdam Young2011-12-2215-92/+95
|
* Type safety for ACLsAdam Young2011-12-223-17/+18
|
* type safety cleanup in common.Adam Young2011-12-226-32/+30
|
* util type safety cleanupAdam Young2011-12-2218-104/+106
|
* Unreachable Catch clausesAdam Young2011-12-225-57/+0
| | | | In each of the cases, more specific exceptions would be caught, masking these more generic exception.
* type safety in CMSCRLExtensions and PublisherProcessorAdam Young2011-12-222-2/+5
|
* Removal of unused private methodsAdam Young2011-12-222-39/+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
* Removal of unused private methodsAdam Young2011-12-2057-2346/+4
| | | | | | | | | | | | 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
* Fixed missing dependencies in pki-util-test.Endi Sukma Dewata2011-12-201-1/+1
| | | | | | The pki-util-test should depend on pki-nsutil and pki-cmsutil. Tickeet #3
* Added unit tests for pki-util.Endi Sukma Dewata2011-12-1921-4/+1678
| | | | | | | | | | | New unit tests have been added to test string converters indirectly. This is to allow replacing the converters with charset encoder and decoder without changing the test cases. The TestRunner has been moved into a separate package such that it can be reused by other packages. Ticket #3
* Revert "Formatting"Ade Lee2011-12-081314-106002/+110231
| | | | This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
* Revert "Indent in conditionals"Ade Lee2011-12-087-11/+11
| | | | This reverts commit 0b5c0e0542354edc8cab4da6a1afa1ff00800c0c.
* Indent in conditionalsAdam Young2011-12-087-11/+11
| | | | | Additional Formatting generated by Eclipse 3.7.1 It provides more detailed control of the indentation which is not provided in the earlier version
* FormattingAde Lee2011-12-071314-110231/+106002
| | | | Formatted project according to eclipse project settings
* TreeSetAdam Young2011-12-0752-583/+365
| | | | | | | | | | | | | | | | | | | ArraySet and AttributeNameEnumeration both were not updated to handfle Generics. Neither are really needed, and are likely to introduce errors. ArraySet can be safely replaced by TreeSet. TreeSet provides a stricter ordering constraint than ArraySet did. This will not hurt anything, and may actually be closer to the desired behavior AttributeNameEnumeration was a thin wrapper around Vector. It has been replaced with Vector<String> In addition, this patch cleans up the Type safety in of the collections used in the related files. removed files from cmake Removed custom collection files Supressed watnings generated by the clone method.
* Remove Deprecated Date FunctionsAdam Young2011-12-065-33/+52
| | | | | | Fixed error in parsing for stringToDate https://fedorahosted.org/pki/ticket/3
* call statics staticallyAdam Young2011-12-0637-165/+164
| | | | | | | 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.
* PKISilent type safety changesAdam Young2011-12-0519-232/+214
| | | | | Specifies the types for the collections. Changes no behavior, and, due to erasure, should not even change the resulting byte code.
* Fixed stack trace in test report.Endi Sukma Dewata2011-12-051-4/+19
| | | | | | | The report generator has been fixed to show the stack trace from the test source code. Ticket #36
* Added JUnit report generator.Endi Sukma Dewata2011-12-053-1/+266
| | | | | | | A custom JUnit test runner has been added to capture test results and generate XML reports. Ticket #36
* Bug 759339 - fixes sporadic blank line in DRMToolMatthew Harmsen2011-12-021-1/+1
|
* Revert "Remove Deprecated Date Functions"Adam Young2011-12-025-51/+32
| | | | | | This reverts commit d7d71804b885118e74928e413a8e7fb91b78706c. It was commited by mistake. It changes the Certificate Geenrate code, and requires a unit test
* SerialVersionIDAdam Young2011-12-02333-11/+1478
| | | | Autogenerated SerialVersionID for all serializable classes
* Remove Deprecated Date FunctionsAdam Young2011-12-025-32/+51
| | | | https://fedorahosted.org/pki/ticket/3
* unnecessary block removalAdam Young2011-12-0218-147/+111
| | | | | | This patch removes all of the unneeded blocks that surrounded code cleaned up with the dead code removal. https://bugzilla.redhat.com/show_bug.cgi?id=728303
* Added support for JUnit in CMake.Endi Sukma Dewata2011-11-282-0/+94
| | | | | | | | A new function add_junit_test() has been added to execute JUnit tests in CMake. The function is used to execute the unit tests in the common package. Ticket #36
* Dead code removaladmiyo2011-11-2137-333/+22
| | | | | | | | This patch removes all of the locations that Eclipse identified as Dead code. Only the Eclipse automated cleanups were performed, which means that some of the locations which were in *if* blocks still have the corresponding brackets around them. These ensure that the original variable semantics weren't changed, but are safe to remove in the future. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2296 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* PKISilent in single tree PKISilent was a series of classes, each in the ↵admiyo2011-11-1748-55/+223
| | | | | | Common namespace. Now it is in a single tree and fronted by a single Java class that multiplexes between them. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2295 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Cleanup importsadmiyo2011-11-041198-11445/+14430
| | | | | | | | | | 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
* Fixed bugzilla bug #747019.awnuk2011-11-031-0/+16
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2289 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* stub unimplemented abstract methodsadmiyo2011-11-022-0/+121
| | | | | | | | | | the test code has mock objects that implement abstract interfaces, but did not implement all of the methods, causing the compiler to complain. Required as a part of the cleanup for https://bugzilla.redhat.com/show_bug.cgi?id=728303 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2280 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #749927 - Java class conflicts using Java 7 in Fedora 17 ↵mharmsen2011-10-291-1/+1
| | | | | | (rawhide) . . . git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2275 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 744797 - KRA key recovery (retrieve pkcs#12) fails after the in-place ↵cfu2011-10-223-16/+35
| | | | | | upgrade( CS 8.0->8.1) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2274 c9f7a03b-bd48-0410-a16d-cbbf54688b0b