public static class MhashModule.MhashAlgorithm
extends java.lang.Object
Constructor and Description |
---|
MhashAlgorithm() |
Modifier and Type | Method and Description |
---|---|
java.security.MessageDigest |
createMessageDigest()
Create a MessageDigest using
the javaName (and javaProvider, if not null).
|
java.lang.String |
getJavaName() |
java.lang.String |
getJavaProvider() |
java.lang.String |
getName() |
void |
init() |
void |
setJavaName(java.lang.String javaName)
The algorithm name to use when creating the java
MessageDigest . |
void |
setJavaProvider(java.lang.String javaProvider)
The provider name to use when creating the java
MessageDigest ,
null for the default. |
void |
setName(java.lang.String name)
The php name, for example `CRC32'.
|
java.lang.String |
toString() |
public void setName(java.lang.String name)
public java.lang.String getName()
public void setJavaName(java.lang.String javaName)
MessageDigest
.MessageDigest.getInstance(String)
public java.lang.String getJavaName()
public void setJavaProvider(java.lang.String javaProvider)
MessageDigest
,
null for the default.MessageDigest.getInstance(String, String)
public java.lang.String getJavaProvider()
public void init() throws ConfigException
ConfigException
public java.security.MessageDigest createMessageDigest()
public java.lang.String toString()
toString
in class java.lang.Object