sdsi
Class HashOp

java.lang.Object
  |
  +--sdsi.SDSIObject
        |
        +--sdsi.Op
              |
              +--sdsi.HashOp
All Implemented Interfaces:
SequenceItem, java.io.Serializable

class HashOp
extends Op

Author:
Alexander Morcos, Sameer Ajmani

Field Summary
static java.lang.String OPCODE
           
 
Fields inherited from class sdsi.SDSIObject
_hash, _modified, srep
 
Constructor Summary
(package private) HashOp(SexpList l)
           
 
Method Summary
static HashOp create(java.lang.String algo)
           
 Hash execute(SDSIObject object)
           
 java.lang.String getAlgorithm()
           
 
Methods inherited from class sdsi.Op
create, getAbbreviation, getOpcode, getType, toShortString
 
Methods inherited from class sdsi.SDSIObject
equals, getHash, getHash, getSrep, hashCode, principalParse, readFrom, readFrom, sameAs, sign, toReadableString, toString, writeCanonical, writeReadable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface sdsi.SequenceItem
getSrep
 

Field Detail

OPCODE

public static java.lang.String OPCODE
Constructor Detail

HashOp

HashOp(SexpList l)
 throws SexpParseException
Method Detail

create

public static HashOp create(java.lang.String algo)
                     throws SDSIException
SDSIException

getAlgorithm

public java.lang.String getAlgorithm()

execute

public Hash execute(SDSIObject object)
             throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException