You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/03/17 18:36:39 UTC

[jira] [Resolved] (SSHD-430) Expose supported built-in ciphers as an Enum

     [ https://issues.apache.org/jira/browse/SSHD-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SSHD-430.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0
         Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=eac1704e05d23a562512dc6d2bde387c3cea07e9

> Expose supported built-in ciphers as an Enum
> --------------------------------------------
>
>                 Key: SSHD-430
>                 URL: https://issues.apache.org/jira/browse/SSHD-430
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Goldstein Lyor
>            Assignee: Guillaume Nodet
>             Fix For: 1.0.0
>
>         Attachments: 0033-SSHD-430-Expose-supported-built-in-ciphers-as-an-Enu.patch
>
>
> The available _Cipher_(s) and their respective _NamedFactory_(ies) are exposed via an _Enum_ - including the _isSupported_ method. This has significant advantages:
> * A central location where all the currently available ciphers are listed - so that programmers don't need to browse the code.
> * Facilitate configuration by code - e.g., read some list of ciphers, and then easily translate it from string names to their factories counterparts.
> * (D)on't-(R)epeat-(Y)ourself - any new cipher is automatically available for programmers without any code change (assuming they are using the _Enum_). No need to manually update the code if upgrading to a new version - it will automatically be made available via the _Enum_



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)