enum

Fluxion::ChecksumAlgorithm

Inherits Enum < Comparable < Value < Object

Digest algorithms accepted for pinning remote artifacts. SHA-256 is the only one currently supported: adding weaker digests would let a profile opt into a trust level Fluxion cannot honestly claim to enforce.

Constants

Sha256 = 0

Class methods

from_config?(value : String | Nil) : self | Nil
Source

Instance methods

config_name
Source
hex_length
Source
sha256?

Returns true if this enum value equals Sha256

Source
to_s(io : IO) : Nil

Appends a String representation of this enum member to the given io.

See also: to_s.

Source