|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsdsi.Obj
jsdsi.Op
jsdsi.HashOp
A hash operation that instructs a verifier to hash an object for later reference.
Nested Class Summary |
Nested classes inherited from class jsdsi.Element |
Element.Default |
Field Summary |
Fields inherited from class jsdsi.Obj |
_obj |
Constructor Summary | |
HashOp(java.lang.String a)
Creates a new HashOp for a given hash algorithm. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAlgorithm()
|
int |
hashCode()
|
SexpList |
toSexp()
Creates an SexpList -representation from this SDSI-object. |
Methods inherited from class jsdsi.Obj |
parseObj, parseObj, readResolve, toByteArray, toString, toString, toTransport |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HashOp(java.lang.String a)
HashOp
for a given hash algorithm.
a
- name of the hash algorithm for this hash op.Method Detail |
public java.lang.String getAlgorithm()
public boolean equals(java.lang.Object o)
equals
in class Obj
Object.equals(Object)
public int hashCode()
hashCode
in class Obj
Object.hashCode()
public SexpList toSexp()
Obj
SexpList
-representation from this SDSI-object.
toSexp
in interface Element
toSexp
in class Obj
SexpList
representing this
HashOp
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |