Struct security_framework::os::macos::digest_transform::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
A builder for digest transform operations.
Implementations
impl Builder
[src]
impl Builder
[src]pub fn type_(&mut self, digest_type: DigestType) -> &mut Builder
[src]
pub fn type_(&mut self, digest_type: DigestType) -> &mut Builder
[src]Sets the type of digest to perform.
If not set, an appropriate digest will be selected for you.
pub fn length(&mut self, digest_length: CFIndex) -> &mut Builder
[src]
pub fn length(&mut self, digest_length: CFIndex) -> &mut Builder
[src]Sets the output length of the digest.
If not set, an appropriate length will be selected for you. Some digest types only support specific output lengths.