class VerifierFileChecksum in Automatic Updates 7
Same name and namespace in other branches
- 8 vendor/drupal/php-signify/src/VerifierFileChecksum.php \Drupal\Signify\VerifierFileChecksum
Class VerifierFileChecksum Models a particular file's expected checksum using some algorithm.
Hierarchy
- class \Drupal\Signify\VerifierFileChecksum
Expanded class hierarchy of VerifierFileChecksum
File
- vendor/
drupal/ php-signify/ src/ VerifierFileChecksum.php, line 10
Namespace
Drupal\SignifyView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
VerifierFileChecksum:: |
public | property | ||
VerifierFileChecksum:: |
public | property | ||
VerifierFileChecksum:: |
public | property | ||
VerifierFileChecksum:: |
public | property | Indicates whether this object contains a hash obtained from a verified source. | |
VerifierFileChecksum:: |
public | function |