Home
last modified time | relevance | path

Searched refs:GTHashAlgorithm (Results 1 – 9 of 9) sorted by relevance

/plugin/gtime/gtlib/tsp/
H A DGTHashAlgorithm.php55 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 DGTDataHash.php89 * @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 DGTHashEntry.php38 * @param GTHashAlgorithm $hashAlgorithm
43 …public function __construct(GTHashAlgorithm $hashAlgorithm, $direction, GTDataHash $siblingHash, $…
H A DGTVerifier.php152 … $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 DGTPublicationsFile.php432 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 DGTTimestamp.php209 $this->dataHash = new GTDataHash(GTHashAlgorithm::getByOid($hashAlgorithm), $hashedMessage);
231 …if ($signerInfo->getDigestAlgorithm()->getAlgorithm() != GTHashAlgorithm::getByName('SHA256')->get…
525 * @return GTHashAlgorithm hash algorithm
H A DGTHashChain.php64 $algorithm = GTHashAlgorithm::getByGtid($bytes[$i++]);
80 $siblingAlgorithm = GTHashAlgorithm::getByGtid($bytes[$i++]);
/plugin/gtime/gtlib/asn1/x509/
H A DX509Certificate.php250 $hash = new GTDataHash(GTHashAlgorithm::getByName('SHA256'));
/plugin/gtime/action/
H A Dtimestamp.php237 $dataHash = new GTDataHash(GTHashAlgorithm::getByName('DEFAULT'));