Next: , Previous: The IPad Interface, Up: Padding


4.2 The PadFactory Class

Padding instances are created with the following method in the PadFactory class:

— Function: static IPad getInstance (String pad)

Gets an instance of the padding scheme with name pad, or null if no such padding scheme is available.

This class also defines this method:

— Function: static java.util.Set getNames ()

Returns a set of strings with the names of all padding schemes implemented by GNU Crypto.