|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.handle.hdllib.trust.HandleValueDigester
public class HandleValueDigester
Constructor Summary | |
---|---|
HandleValueDigester()
|
Method Summary | |
---|---|
DigestedHandleValues |
digest(java.util.List<HandleValue> values,
java.lang.String alg)
|
boolean |
verify(DigestedHandleValues digestedValues,
java.util.List<HandleValue> values)
Verifies that the given digests correspond to the given values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandleValueDigester()
Method Detail |
---|
public DigestedHandleValues digest(java.util.List<HandleValue> values, java.lang.String alg) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
public boolean verify(DigestedHandleValues digestedValues, java.util.List<HandleValue> values) throws java.security.NoSuchAlgorithmException
HandleVerifier
for methods that deal separately with undigested, digested-but-missing,
bad-digest, and verified values.
digestedValues
- the digests to compare.values
- the handle values to compare.
java.security.NoSuchAlgorithmException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |