Struct security_framework::os::macos::digest_transform::Builder[][src]

pub struct Builder { /* fields omitted */ }
Expand description

A builder for digest transform operations.

Implementations

Returns a new builder with default settings.

Sets the type of digest to perform.

If not set, an appropriate digest will be selected for you.

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.

Sets the key used for HMAC digests.

Only applies to HmacMd5, HmacSha1, and HmacSha2 digests.

Computes the digest of the data.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.