You are here

class VerifierFileChecksum in Automatic Updates 8

Same name and namespace in other branches
  1. 7 vendor/drupal/php-signify/src/VerifierFileChecksum.php \Drupal\Signify\VerifierFileChecksum

Class VerifierFileChecksum Models a particular file's expected checksum using some algorithm.

Hierarchy

Expanded class hierarchy of VerifierFileChecksum

File

vendor/drupal/php-signify/src/VerifierFileChecksum.php, line 10

Namespace

Drupal\Signify
View source
class VerifierFileChecksum {

  /**
   * @var string
   */
  public $filename;

  /**
   * @var string
   */
  public $algorithm;

  /**
   * @var string
   */
  public $hex_hash;

  /**
   * @var bool
   * Indicates whether this object contains a hash obtained from a verified source.
   */
  public $trusted;
  public function __construct($filename, $algorithm, $hex_hash, $trusted) {
    $this->filename = $filename;
    $this->algorithm = $algorithm;
    $this->hex_hash = $hex_hash;
    $this->trusted = $trusted;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
VerifierFileChecksum::$algorithm public property
VerifierFileChecksum::$filename public property
VerifierFileChecksum::$hex_hash public property
VerifierFileChecksum::$trusted public property Indicates whether this object contains a hash obtained from a verified source.
VerifierFileChecksum::__construct public function