|
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.hash.HashFactory
public class HashFactory
A Factory to instantiate message digest algorithm instances.
Method Summary | |
---|---|
static IMessageDigest |
getInstance(String name)
Return an instance of a hash algorithm given its name. |
static 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(String name)
Return an instance of a hash algorithm given its name.
name
- the name of the hash algorithm.
InternalError
- if the implementation does not pass its self-
test.public static final 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 |