jsdsi
Class HashOp
java.lang.Object
  
jsdsi.Obj
      
jsdsi.Op
          
jsdsi.HashOp
- All Implemented Interfaces: 
 - Element, java.io.Serializable
 
- public class HashOp
- extends Op
  
A hash operation that instructs a verifier to hash an object for
 later reference.
- Version:
 
  - $Revision: 1.3.2.1 $ $Date: 2005/11/08 03:12:52 $
 
- Author:
 
  - Sameer Ajmani, Sean Radford
 
- See Also:
 - Serialized Form
 
 
 
 
| Fields inherited from class jsdsi.Obj | 
_obj | 
 
| 
Constructor Summary | 
HashOp(java.lang.String a)
 
          Creates a new HashOp for a given hash algorithm. | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
HashOp
public HashOp(java.lang.String a)
- Creates a new 
HashOp for a given hash algorithm.
 - Parameters:
 a - name of the hash algorithm for this hash op.
getAlgorithm
public java.lang.String getAlgorithm()
- Returns:
 - the name of the hash algorithm used.
 
 
equals
public boolean equals(java.lang.Object o)
- Specified by:
 equals in class Obj
 
- See Also:
 Object.equals(Object)
 
hashCode
public int hashCode()
- Specified by:
 hashCode in class Obj
 
- See Also:
 Object.hashCode()
 
toSexp
public SexpList toSexp()
- Description copied from class: 
Obj 
- Creates an 
SexpList -representation from this SDSI-object.
- Specified by:
 toSexp in interface Element- Specified by:
 toSexp in class Obj
 
- Returns:
 - the 
SexpList representing this
      HashOp. 
 
 
Copyright © 2002-2006 JSDSI. All Rights Reserved.