edu.berkeley.psi.tagged.api
Class MD2DigestFactory

java.lang.Object
  extended by org.acplt.oncrpc.XdrEncodingStream
      extended by edu.berkeley.psi.tagged.api.TaggedEncodingStream
          extended by edu.berkeley.psi.tagged.api.DigestFactory
              extended by edu.berkeley.psi.tagged.api.MD2DigestFactory

public class MD2DigestFactory
extends DigestFactory

Generates MD2Digests (cryptographic hashes) for Tagged objects. TaggedConst determines how the object classes are rendered as integer tags and the algorithm determines the cryptographic hash function that is used to compute the digest. The object data is rendered using Xdr.


Field Summary
 
Fields inherited from class edu.berkeley.psi.tagged.api.DigestFactory
md
 
Constructor Summary
protected MD2DigestFactory()
           
 
Method Summary
 Digest digest()
           
 
Methods inherited from class edu.berkeley.psi.tagged.api.DigestFactory
digest, getAlgorithm, getDigestLength, newFactory, newFactory, reset, update, xdrEncodeInt, xdrEncodeOpaque
 
Methods inherited from class edu.berkeley.psi.tagged.api.TaggedEncodingStream
put
 
Methods inherited from class org.acplt.oncrpc.XdrEncodingStream
beginEncoding, close, endEncoding, getCharacterEncoding, setCharacterEncoding, xdrEncodeBoolean, xdrEncodeBooleanFixedVector, xdrEncodeBooleanVector, xdrEncodeByte, xdrEncodeByteFixedVector, xdrEncodeByteVector, xdrEncodeDouble, xdrEncodeDoubleFixedVector, xdrEncodeDoubleVector, xdrEncodeDynamicOpaque, xdrEncodeFloat, xdrEncodeFloatFixedVector, xdrEncodeFloatVector, xdrEncodeIntFixedVector, xdrEncodeIntVector, xdrEncodeLong, xdrEncodeLongFixedVector, xdrEncodeLongVector, xdrEncodeOpaque, xdrEncodeOpaque, xdrEncodeShort, xdrEncodeShortFixedVector, xdrEncodeShortVector, xdrEncodeString, xdrEncodeStringFixedVector, xdrEncodeStringVector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD2DigestFactory

protected MD2DigestFactory()
                    throws java.security.NoSuchAlgorithmException
Throws:
java.security.NoSuchAlgorithmException
Method Detail

digest

public Digest digest()
Specified by:
digest in class DigestFactory