|
For the latest news and information visit The GNU Crypto project |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--gnu.crypto.mac.MacFactory
A Factory that instantiates instances of every supported Message Authentication Code algorithms, including all HMAC algorithms.
| Field Summary |
|---|
| Method Summary | |
|---|---|
static IMac |
getInstance(java.lang.String name)
Returns an instance of a MAC algorithm given its name. |
static java.util.Set |
getNames()
Returns a Set of names of MAC algorithms
supported by this Factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static IMac getInstance(java.lang.String name)
Returns an instance of a MAC algorithm given its name.
name - the name of the MAC algorithm.
null if
none can be constructed.
java.lang.InternalError - if the implementation does not pass its self-test.public static final java.util.Set getNames()
Returns a Set of names of MAC algorithms
supported by this Factory.
Set of MAC names (Strings).
|
For the latest news and information visit The GNU Crypto project |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||