Searched refs:GTHashAlgorithm (Results 1 – 9 of 9) sorted by relevance
/plugin/gtime/gtlib/tsp/ |
H A D | GTHashAlgorithm.php | 55 class GTHashAlgorithm { class 126 * @return GTHashAlgorithm hash algorithm object with the given name. 138 return GTHashAlgorithm::getByName('SHA256'); 141 foreach (GTHashAlgorithm::getSupportedAlgorithms() as $algorithm) { 157 * @return GTHashAlgorithm hash algorithm object with the given OID. 165 foreach (GTHashAlgorithm::getSupportedAlgorithms() as $algorithm) { 181 * @return GTHashAlgorithm hash algorithm object with the given GTID. 189 foreach (GTHashAlgorithm::getSupportedAlgorithms() as $algorithm) { 208 new GTHashAlgorithm("RIPEMD160", "1.3.36.3.2.1", 2, 20), 209 new GTHashAlgorithm("SHA1", "1.3.14.3.2.26", 0, 20), [all …]
|
H A D | GTDataHash.php | 89 * @param GTHashAlgorithm $hashAlgorithm hash algorithm to use 98 if (!($hashAlgorithm instanceof GTHashAlgorithm)) { 249 * @return GTHashAlgorithm the currently used algorithm 329 $hashAlgorithm = GTHashAlgorithm::getByGtid($dataImprint[0]);
|
H A D | GTHashEntry.php | 38 * @param GTHashAlgorithm $hashAlgorithm 43 …public function __construct(GTHashAlgorithm $hashAlgorithm, $direction, GTDataHash $siblingHash, $…
|
H A D | GTVerifier.php | 152 … $digestAlgorithm = GTHashAlgorithm::getByOid($signerInfo->getDigestAlgorithm()->getAlgorithm()); 226 * @param GTHashAlgorithm $digestAlgorithm 230 …private static function verifyHashChains(GTTimeSignature $timeSignature, GTHashAlgorithm $digestAl… 251 $publicationImprintAlg = GTHashAlgorithm::getByGtid($publicationImprint[0]);
|
H A D | GTPublicationsFile.php | 432 if ($digestAlgorithm->getAlgorithm() != GTHashAlgorithm::getByName('SHA256')->getOid()) { 533 $hashAlgorithm = GTHashAlgorithm::getByGtid($this->content[$offset + self::TIME_SIZE]); 552 $hashAlgorithm = GTHashAlgorithm::getByGtid($this->content[$offset]);
|
H A D | GTTimestamp.php | 209 $this->dataHash = new GTDataHash(GTHashAlgorithm::getByOid($hashAlgorithm), $hashedMessage); 231 …if ($signerInfo->getDigestAlgorithm()->getAlgorithm() != GTHashAlgorithm::getByName('SHA256')->get… 525 * @return GTHashAlgorithm hash algorithm
|
H A D | GTHashChain.php | 64 $algorithm = GTHashAlgorithm::getByGtid($bytes[$i++]); 80 $siblingAlgorithm = GTHashAlgorithm::getByGtid($bytes[$i++]);
|
/plugin/gtime/gtlib/asn1/x509/ |
H A D | X509Certificate.php | 250 $hash = new GTDataHash(GTHashAlgorithm::getByName('SHA256'));
|
/plugin/gtime/action/ |
H A D | timestamp.php | 237 $dataHash = new GTDataHash(GTHashAlgorithm::getByName('DEFAULT'));
|