[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [CRYPTO] is the ConfigurationKeys class needed?
From:       sebb <sebbaz () gmail ! com>
Date:       2016-06-30 17:32:27
Message-ID: CAOGo0VYL48cYKisApezrKBKsUEwVm+2qURbdEoK89DcAtkCdrA () mail ! gmail ! com
[Download RAW message or body]

The entries in ConfigurationKeys are only usable with one of the factories.

It might therefore be more sensible to define them in the relevant
factory classes.

This would also allow the names to be shortened.
For example,
ConfigurationKeys.SECURE_RANDOM_CLASSES_KEY
could become
CryptoRandomFactory.CLASSES_KEY

I think this would simplify user code as well as making it easier to
find the keys for a specific implementation.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic