com.planetj.math.rabinhash
Class PJLProvider
java.lang.Object
java.util.Dictionary
java.util.Hashtable
java.util.Properties
java.security.Provider
com.planetj.math.rabinhash.PJLProvider
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public final class PJLProvider
- extends java.security.Provider
This class represents the provider "PJL", which provides two MessageDigest algorithm
implementations based on 32- and 64-bit Rabin hash functions. The names of these algorithms are
"RHF32" and "RHF64", respectively. In this way, the services of this package can be used through standard
java.security APIs.
See here for details on how to
use MessageDigest objects.
Note: in order to use the MessageDigest algorithms provided by this package, you must add
this Provider class to your list of approved providers. This is defined in the file
(Java home)/lib/security/java.security. After the last security.provider.x line, add an additional one
like this:
...
security.provider.5=sun.security.jgss.SunProvider
security.provider.6=com.planetj.math.rabinhash.PJLProvider
- Since:
- 2.0
- Version:
- 2.0
- Author:
- Sean Owen
- See Also:
- Serialized Form
| Fields inherited from class java.util.Properties |
defaults |
|
Constructor Summary |
PJLProvider()
Configures the provider "PJL" to provide MessageDigest algorithms
"RHF32" and "RHF64". |
| Methods inherited from class java.security.Provider |
clear, entrySet, getInfo, getName, getVersion, keySet, load, put, putAll, remove, toString, values |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clone, contains, containsKey, containsValue, elements, equals, get, hashCode, isEmpty, keys, rehash, size |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PJLProvider
public PJLProvider()
Configures the provider "PJL" to provide MessageDigest algorithms
"RHF32" and "RHF64".