jsdsi
Class HashOp
java.lang.Object
|
+--jsdsi.Obj
|
+--jsdsi.Op
|
+--jsdsi.HashOp
- All Implemented Interfaces:
- Element
- public class HashOp
- extends Op
A hash operation that instructs a verifier to hash an object for
later reference.
- Author:
- Sameer Ajmani
Constructor Summary |
HashOp(java.lang.String a)
|
Methods inherited from class jsdsi.Op |
parseOp |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
HashOp
public HashOp(java.lang.String a)
getAlgorithm
public java.lang.String getAlgorithm()
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class Obj
hashCode
public int hashCode()
- Specified by:
hashCode
in class Obj
toSexp
public SexpList toSexp()
- Specified by:
toSexp
in interface Element
- Specified by:
toSexp
in class Obj
parseHashOp
static HashOp parseHashOp(java.util.Iterator obody)
throws SexpParseException
SexpParseException