edu.berkeley.psi.tagged.api
Class SHA1DigestFactory

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.SHA1DigestFactory

public class SHA1DigestFactory
extends DigestFactory

Generates SHA1Digests (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 SHA1DigestFactory()
           
 
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

SHA1DigestFactory

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

digest

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