You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2009/02/15 21:01:00 UTC

[jira] Created: (JSEC-60) Update CodecSupport to support File and InputStream conversion to byte arrays

Update CodecSupport to support File and InputStream conversion to byte arrays
-----------------------------------------------------------------------------

                 Key: JSEC-60
                 URL: https://issues.apache.org/jira/browse/JSEC-60
             Project: JSecurity
          Issue Type: Improvement
          Components: Cryptography & Hashing
    Affects Versions: 1.0
            Reporter: Les Hazlewood
             Fix For: 1.0


CodecSupport is used as the parent for all of the Hash implementations.  A Hash should be able to take any File or InputStream and generate a Hash value, i.e.:

new Sha256Hash(myFile);
or
new Sha512Hash(anInputStream);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (JSEC-60) Update CodecSupport to support File and InputStream conversion to byte arrays

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSEC-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood reassigned JSEC-60:
---------------------------------

    Assignee: Les Hazlewood

> Update CodecSupport to support File and InputStream conversion to byte arrays
> -----------------------------------------------------------------------------
>
>                 Key: JSEC-60
>                 URL: https://issues.apache.org/jira/browse/JSEC-60
>             Project: JSecurity
>          Issue Type: Improvement
>          Components: Cryptography & Hashing
>    Affects Versions: 1.0
>            Reporter: Les Hazlewood
>            Assignee: Les Hazlewood
>             Fix For: 1.0
>
>
> CodecSupport is used as the parent for all of the Hash implementations.  A Hash should be able to take any File or InputStream and generate a Hash value, i.e.:
> new Sha256Hash(myFile);
> or
> new Sha512Hash(anInputStream);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Moved: (KI-55) Update CodecSupport to support File and InputStream conversion to byte arrays

Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KI-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera moved JSEC-60 to KI-55:
------------------------------------

        Fix Version/s:     (was: 1.0)
          Component/s:     (was: Cryptography & Hashing)
    Affects Version/s:     (was: 1.0)
                  Key: KI-55  (was: JSEC-60)
              Project: Ki  (was: JSecurity)

> Update CodecSupport to support File and InputStream conversion to byte arrays
> -----------------------------------------------------------------------------
>
>                 Key: KI-55
>                 URL: https://issues.apache.org/jira/browse/KI-55
>             Project: Ki
>          Issue Type: Improvement
>            Reporter: Les Hazlewood
>            Assignee: Les Hazlewood
>
> CodecSupport is used as the parent for all of the Hash implementations.  A Hash should be able to take any File or InputStream and generate a Hash value, i.e.:
> new Sha256Hash(myFile);
> or
> new Sha512Hash(anInputStream);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JSEC-60) Update CodecSupport to support File and InputStream conversion to byte arrays

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSEC-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood resolved JSEC-60.
-------------------------------

    Resolution: Fixed

Resolved via toBytes methods that take in File and InputStream arguments in the CodecSupport class.

> Update CodecSupport to support File and InputStream conversion to byte arrays
> -----------------------------------------------------------------------------
>
>                 Key: JSEC-60
>                 URL: https://issues.apache.org/jira/browse/JSEC-60
>             Project: JSecurity
>          Issue Type: Improvement
>          Components: Cryptography & Hashing
>    Affects Versions: 1.0
>            Reporter: Les Hazlewood
>            Assignee: Les Hazlewood
>             Fix For: 1.0
>
>
> CodecSupport is used as the parent for all of the Hash implementations.  A Hash should be able to take any File or InputStream and generate a Hash value, i.e.:
> new Sha256Hash(myFile);
> or
> new Sha512Hash(anInputStream);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.