Create a DKIM hash stream.
The signature algorithm (selects SHA-256 or SHA-1).
The max length of data to hash, or -1 for unbounded.
Whether the stream supports reading (never).
Whether the stream supports writing (always).
Whether the stream supports seeking (never).
Whether reading and writing can time out (never).
The number of bytes written to the stream.
The current position within the stream.
Setting the position is not supported.
Generate the hash.
The hash.
Write a sequence of bytes to the stream, updating the running digest.
The buffer to write.
The offset of the first byte to write.
The number of bytes to write.
Seeking is not supported.
The offset relative to _origin.
The reference point.
Flush the stream (a no-op).
Dispose the stream.
Copy data from this stream to another stream.
The stream that will receive the copied data.
The temporary buffer size to use while copying.
Protected StaticvalidateValidate buffer, offset, and count arguments for stream read/write operations.
The buffer supplied by the caller.
The starting offset in the buffer.
The number of bytes to read or write.
Protectedthrow
A DKIM hash stream.
Feeds body/header bytes incrementally into a synchronous digest (see IncrementalHash); generateHash produces the final hash.