Class Digester<T extends Digest>
java.lang.Object
java.io.OutputStream
aQute.libg.cryptography.Digester<T>
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Tdigest()abstract Tdigest(byte[] bytes) from(byte[] f) from(InputStream in) abstract StringintvoidsetOutputs(OutputStream... out) voidwrite(byte[] buffer, int offset, int length) voidwrite(int b) Methods inherited from class OutputStream
close, flush, nullOutputStream, write
-
Field Details
-
md
-
-
Constructor Details
-
Digester
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
getMessageDigest
- Throws:
Exception
-
from
- Throws:
Exception
-
setOutputs
-
digest
-
digest
-
getAlgorithm
-
from
-
from
-
getLength
public int getLength()
-