| Modifier and Type | Field and Description |
|---|---|
| private MessageDigest |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | getAlgorithm()
Implements org. Return the |
| public byte[] | getDigest()
Implements org. Return the digest calculated on what has been written to the calculator's output stream. |
| public OutputStream | getOutputStream()
Implements org. Returns a stream that will accept data for the purpose of calculating a digest. |
| public void | reset()
Implements org. Reset the underlying digest calculator |
| digest | back to summary |
|---|---|
| private MessageDigest digest | |
| SHA1PGPDigestCalculator | back to summary |
|---|---|
| pack-priv SHA1PGPDigestCalculator() | |
| getAlgorithm | back to summary |
|---|---|
| public int getAlgorithm() Implements org. Doc from org. Return the
| |
| getDigest | back to summary |
|---|---|
| public byte[] getDigest() Implements org. Doc from org. Return the digest calculated on what has been written to the calculator's output stream.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Implements org. Doc from org. Returns a stream that will accept data for the purpose of calculating a digest. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Reset the underlying digest calculator | |