Node:The MacFactory Class, Next:, Previous:The IMac Interface, Up:Message Authentication Codes

MacFactory Class

MAC instances are created with the following factory method:

IMac getInstance (java.lang.String name) Function
Returns an instance of the MAC algorithm named name, or null if no such algorithm exists.

Additionally the MacFactory class defines the following method:

java.util.Set getNames ( ) Function
Returns a java.util.Set of the names of all available MAC algorithms.