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

Nested Class Summary
 
Nested classes inherited from class jsdsi.Element
Element.Default
 
Constructor Summary
HashOp(java.lang.String a)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAlgorithm()
           
 int hashCode()
           
(package private) static HashOp parseHashOp(java.util.Iterator obody)
           
 SexpList toSexp()
           
 
Methods inherited from class jsdsi.Op
parseOp
 
Methods inherited from class jsdsi.Obj
parseObj, parseObj, toByteArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashOp

public HashOp(java.lang.String a)
Method Detail

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