|
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.HMacFactory
A Factory to instantiate Keyed-Hash Message Authentication Code (HMAC) algorithm instances.
| Field Summary |
| Method Summary | |
static IMac |
getInstance(java.lang.String name)
Return an instance of a HMAC algorithm given the name of its underlying hash function, prefixed with the literal defined in Registry.HMAC_NAME_PREFIX. |
static java.util.Set |
getNames()
Returns a Set of names of HMAC 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)
Return an instance of a HMAC algorithm given the name of its
underlying hash function, prefixed with the literal defined in
Registry.HMAC_NAME_PREFIX.
name - the fully qualified name of the underlying algorithm: composed
as the concatenation of a literal prefix (see Registry.HMAC_NAME_PREFIX)
and the name of the underlying hash 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 HMAC algorithms
supported by this Factory.
Set of HMAC algorithm 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 | |||||||||