Package org.apache.jackrabbit.vault.util
Class SHA1
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.SHA1
-
@Deprecated public class SHA1 extends java.lang.Object
Deprecated.Rather useMessageDigest.getInstance(String)
SHA1 abstraction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SHA1
digest(java.io.File file)
Deprecated.static SHA1
digest(java.io.InputStream in)
Deprecated.boolean
equals(java.lang.Object o)
Deprecated.byte[]
getBytes()
Deprecated.int[]
getInts()
Deprecated.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Field Detail
-
NULL
public static final SHA1 NULL
Deprecated.
-
-
Method Detail
-
getInts
public int[] getInts()
Deprecated.
-
getBytes
public byte[] getBytes()
Deprecated.
-
digest
public static SHA1 digest(java.io.InputStream in) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
digest
public static SHA1 digest(java.io.File file) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
-