|
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.Objectgnu.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(String name)
Returns an instance of a MAC algorithm given its name. |
static 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(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.
InternalError
- if the implementation does not pass its self-test.public static final 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 |