pub struct SignatureBuilder { /* private fields */ }Expand description
Builder of a Signature.
Created using constructors on Signature (e.g. Signature::with_algorithm);
You Self::write data and then Self::finish to get a Signature.
Implementations§
source§impl SignatureBuilder
impl SignatureBuilder
sourcepub fn parallel_write(&mut self, data: &[u8], wp: &WorkerPool)
pub fn parallel_write(&mut self, data: &[u8], wp: &WorkerPool)
Appends data to the hasher, hashing in parallel.
Useful when data is large AND when block_size is > 8*1024.
This can be called multiple times to write the resource bit-by-bit.