|
iText 8.0.5 API
|
This interface should be implemented to provide applications the functionality of a message digest algorithm. More...
Public Member Functions |
|
| byte[] | Digest (byte[] enc) |
| Performs a final update on the digest using the specified array of bytes, then completes the digest computation. More... |
|
| byte[] | Digest () |
| Completes the hash computation by performing final operations such as padding. Leaves the digest reset. More... |
|
| int | GetDigestLength () |
| Gets byte length of wrapped digest algorithm. More... |
|
| void | Update (byte[] buf, int off, int len) |
| Updates the digest using the specified array of bytes, starting at the specified offset. More... |
|
| void | Update (byte[] buf) |
| Updates the digest using the specified array of bytes. More... |
|
| void | Reset () |
| Resets the digest for further use. More... |
|
| string | GetAlgorithmName () |
| Returns a string that identifies the algorithm, independent of implementation details. More... |
|
This interface should be implemented to provide applications the functionality of a message digest algorithm.
| byte [] iText.Commons.Digest.IMessageDigest.Digest | ( | ) |
Completes the hash computation by performing final operations such as padding. Leaves the digest reset.
Implemented in iText.Bouncycastlefips.Crypto.DigestBCFips, iText.Bouncycastle.Crypto.DigestBC, and iText.Commons.Bouncycastle.Crypto.IDigest.
| byte [] iText.Commons.Digest.IMessageDigest.Digest | ( | byte[] | enc | ) |
Performs a final update on the digest using the specified array of bytes, then completes the digest computation.
| enc | the input to be updated before the digest is completed |
Implemented in iText.Bouncycastlefips.Crypto.DigestBCFips, iText.Bouncycastle.Crypto.DigestBC, and iText.Commons.Bouncycastle.Crypto.IDigest.
| string iText.Commons.Digest.IMessageDigest.GetAlgorithmName | ( | ) |
Returns a string that identifies the algorithm, independent of implementation details.
Implemented in iText.Bouncycastlefips.Crypto.DigestBCFips, iText.Bouncycastle.Crypto.DigestBC, and iText.Commons.Bouncycastle.Crypto.IDigest.
| int iText.Commons.Digest.IMessageDigest.GetDigestLength | ( | ) |
Gets byte length of wrapped digest algorithm.
Implemented in iText.Bouncycastlefips.Crypto.DigestBCFips, iText.Bouncycastle.Crypto.DigestBC, and iText.Commons.Bouncycastle.Crypto.IDigest.
| void iText.Commons.Digest.IMessageDigest.Reset | ( | ) |
Resets the digest for further use.
Implemented in iText.Bouncycastlefips.Crypto.DigestBCFips, iText.Bouncycastle.Crypto.DigestBC, and iText.Commons.Bouncycastle.Crypto.IDigest.
| void iText.Commons.Digest.IMessageDigest.Update | ( | byte[] | buf | ) |
Updates the digest using the specified array of bytes.
| buf | byte array buffer |
Implemented in iText.Bouncycastlefips.Crypto.DigestBCFips, iText.Bouncycastle.Crypto.DigestBC, and iText.Commons.Bouncycastle.Crypto.IDigest.
| void iText.Commons.Digest.IMessageDigest.Update | ( | byte[] | buf, |
| int | off, | ||
| int | len | ||
| ) |
Updates the digest using the specified array of bytes, starting at the specified offset.
| buf | byte array buffer |
| off | the offset to start from in the array of bytes |
| len | the number of bytes to use, starting at offset |
Implemented in iText.Bouncycastlefips.Crypto.DigestBCFips, iText.Bouncycastle.Crypto.DigestBC, and iText.Commons.Bouncycastle.Crypto.IDigest.