Home
last modified time | relevance | path

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

/plugin/gtime/gtlib/asn1/cms/
H A DCMSSignerInfo.php49 private $digestAlgorithm; variable in CMSSignerInfo
97 $digestAlgorithm = new X509AlgorithmIdentifier();
98 $digestAlgorithm->decode($object->getObjectAt(2));
100 $this->digestAlgorithm = $digestAlgorithm;
188 $sequence->add($this->digestAlgorithm);
279 return $this->digestAlgorithm;
H A DCMSSignedData.php105 $digestAlgorithm = new X509AlgorithmIdentifier();
106 $digestAlgorithm->decode($item);
108 array_push($digestAlgorithms, $digestAlgorithm);
201 foreach ($this->digestAlgorithms as $digestAlgorithm) {
202 $digestAlgorithms->add($digestAlgorithm);
/plugin/gtime/gtlib/tsp/
H A DGTVerifier.php152 … $digestAlgorithm = GTHashAlgorithm::getByOid($signerInfo->getDigestAlgorithm()->getAlgorithm());
167 $dataHash = new GTDataHash($digestAlgorithm);
181 … $result->update(GTVerifier::verifyHashChains($timeSignature, $digestAlgorithm, $signedAttrs));
226 * @param GTHashAlgorithm $digestAlgorithm
230 …on verifyHashChains(GTTimeSignature $timeSignature, GTHashAlgorithm $digestAlgorithm, array $signe… argument
264 $input = new GTDataHash($digestAlgorithm);
H A DGTPublicationsFile.php430 $digestAlgorithm = $digestAlgorithms[0];
432 if ($digestAlgorithm->getAlgorithm() != GTHashAlgorithm::getByName('SHA256')->getOid()) {
433 …GTException("Unsupported publications file signature algorithm: " . $digestAlgorithm->getAlgorithm…
/plugin/adfs/phpsaml/lib/Saml2/
H A DMetadata.php181 * @param string $digestAlgorithm Digest algorithm method
187 …($metadata, $key, $cert, $signAlgorithm = XMLSecurityKey::RSA_SHA1, $digestAlgorithm = XMLSecurity… argument
189 … return OneLogin_Saml2_Utils::addSign($metadata, $key, $cert, $signAlgorithm, $digestAlgorithm);
H A DUtils.php1331 * @param string $digestAlgorithm Digest algorithm method
1337 …dSign($xml, $key, $cert, $signAlgorithm = XMLSecurityKey::RSA_SHA1, $digestAlgorithm = XMLSecurity… argument
1362 $digestAlgorithm,
H A DSettings.php937 $digestAlgorithm = $this->_security['digestAlgorithm'];
938 …adata::signMetadata($metadata, $keyMetadata, $certMetadata, $signatureAlgorithm, $digestAlgorithm);
/plugin/adfs/phpsaml/extlib/xmlseclibs/
H A Dxmlseclibs.php699 public function calculateDigest ($digestAlgorithm, $data, $encode = true) { argument
700 switch ($digestAlgorithm) {
717 … throw new Exception("Cannot validate digest: Unsupported Algorithm <$digestAlgorithm>");
731 $digestAlgorithm = $xpath->evaluate($query, $refNode);
732 $digValue = $this->calculateDigest($digestAlgorithm, $data, false);
/plugin/adfs/phpsaml/
H A DREADME.md175 `signatureAlgorithm` and `digestAlgorithm` under `security` must be set to
548 'digestAlgorithm' => 'http://www.w3.org/2001/04/xmlenc#sha256',