gnu.crypto.pad
public class PadFactory extends Object implements Registry
A Factory to instantiate padding schemes.
Version: $Revision: 1.8 $
| Method Summary | |
|---|---|
| static IPad | getInstance(String pad) Returns an instance of a padding algorithm given its name. |
| static Set | getNames() Returns a java.util.Set of names of padding algorithms supported by this Factory. |
Returns an instance of a padding algorithm given its name.
Parameters: pad the case-insensitive name of the padding algorithm.
Returns: an instance of the padding algorithm, operating with a given
block size, or null if none found.
Throws: InternalError if the implementation does not pass its self-test.
Returns a java.util.Set of names of padding algorithms supported by this Factory.
Returns: a Set of padding algorithm names (Strings).