Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.security.crypto
Class PBKDF2HexFormatter

    java.lang.Object
      org.jboss.seam.security.crypto.PBKDF2HexFormatter

All Implemented Interfaces:
  PBKDF2Formatter

    public class PBKDF2HexFormatter

extends Object
implements PBKDF2Formatter

Copied from Matthias Gartner's PKCS#5 implementation - see http://rtner.de/software/PBKDF2.html

A free Java implementation of Password Based Key Derivation Function 2 as defined by RFC 2898. Copyright (c) 2007 Matthias Gärtner

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

For Details, see http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.

Version:
  1.0
Author:
  Matthias Gärtner

Constructor Summary
`PBKDF2HexFormatter()`

Method Summary
`boolean` | `fromString(PBKDF2Parameters p, String s)` Convert String to parameters.
`String` | `toString(PBKDF2Parameters p)` Convert parameters to String.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PBKDF2HexFormatter

    public PBKDF2HexFormatter()

Method Detail

### fromString

    public boolean fromString(PBKDF2Parameters p,
                              String s)

  Description copied from interface: `PBKDF2Formatter`
  Convert String to parameters. Depending on actual implementation, it may be required to set further fields externally.

  Specified by:
    `fromString` in interface `PBKDF2Formatter`
    `s` - String representation of parameters to decode.
  Returns:
    `false` syntax OK, `true` some syntax issue.

### toString

    public String toString(PBKDF2Parameters p)

  Description copied from interface: `PBKDF2Formatter`
  Convert parameters to String.

  Specified by:
    `toString` in interface `PBKDF2Formatter`
  Parameters:
    `p` - Parameters object to output.
  Returns:
    String representation

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.