| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--ostore.util.OutputBufferImpl
        |
        +--ostore.util.SecureHashBuffer
              |
              +--ostore.util.SHA1HashBuffer
A SecureHashBuffer that produces SHA1Hashs.
SecureHashBuffer, 
SHA1Hash, 
MessageDigest| Constructor Summary | |
|---|---|
SHA1HashBuffer()
Constructs a new SHA1HashBuffer. | 
|
| Method Summary | |
|---|---|
 void | 
add(byte input)
Adds the specified byte to the digest.  | 
 void | 
add(byte[] input,
    int offset,
    int length)
Adds length bytes of the specified array to the digest,
 starting at offset. | 
static void | 
main(String[] args)
 | 
 SecureHash | 
toHash()
Computes and returns the digest of all inputs.  | 
| Methods inherited from class ostore.util.OutputBufferImpl | 
|---|
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public SHA1HashBuffer()
SHA1HashBuffer.
| Method Detail | 
public void add(byte input)
add in interface OutputBufferadd in class OutputBufferImpl
public void add(byte[] input,
                int offset,
                int length)
length bytes of the specified array to the digest,
 starting at offset.
add in interface OutputBufferadd in class OutputBufferImplpublic SecureHash toHash()
 This implementation always returns a SHA1Hash.
toHash in class SecureHashBufferpublic static void main(String[] args)
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||