|
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.hash.HashFactory
A Factory to instantiate message digest algorithm instances.
Method Summary | |
static IMessageDigest |
getInstance(java.lang.String name)
Return an instance of a hash algorithm given its name. |
static java.util.Set |
getNames()
Returns a Set of names of hash 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 IMessageDigest getInstance(java.lang.String name)
Return an instance of a hash algorithm given its name.
name
- the name of the hash algorithm.
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 hash algorithms supported by this
Factory.
Set
of hash 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 |