|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cedarsoft.crypt.ResourceHashCalculator
@Deprecated public class ResourceHashCalculator
Calculates the hashes of resources
| Constructor Summary | |
|---|---|
ResourceHashCalculator()
Deprecated. |
|
| Method Summary | |
|---|---|
Hash |
calculate(Algorithm algorithm,
byte[] resource)
Deprecated. |
Hash |
calculate(Algorithm algorithm,
InputStream resource)
Deprecated. |
Hash |
calculate(Algorithm algorithm,
URL resource)
Deprecated. |
Hash |
calculateMD5(InputStream resource)
Deprecated. |
Hash |
calculateSHA1(InputStream resource)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceHashCalculator()
| Method Detail |
|---|
@NotNull
public Hash calculate(@NotNull
Algorithm algorithm,
@NotNull
URL resource)
throws IOException
IOException
@NotNull
public Hash calculate(@NotNull
Algorithm algorithm,
@NotNull
InputStream resource)
throws IOException
IOException
@NotNull
public Hash calculate(@NotNull
Algorithm algorithm,
@NotNull
byte[] resource)
throws IOException
IOException
@Deprecated
@NotNull
public Hash calculateSHA1(@NotNull
InputStream resource)
throws IOException
IOException
@Deprecated
@NotNull
public Hash calculateMD5(@NotNull
InputStream resource)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||