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
|
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 |
OPCODE
public static java.lang.String OPCODE
HashOp
HashOp(SexpList l)
throws SexpParseException
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