Next: , Previous: The IMac Interface, Up: Message Authentication Codes


7.2 MacFactory Class

MAC instances are created with the following factory method:

— Function: IMac getInstance (java.lang.String name)

Returns an instance of the MAC algorithm named name, or null if no such algorithm exists.

Additionally the MacFactory class defines the following method:

— Function: java.util.Set getNames ( )

Returns a java.util.Set of the names of all available MAC algorithms.