Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 25 of 91) sorted by relevance

1234

/plugin/gtime/gtlib/asn1/x509/
H A DX509AlgorithmIdentifier.php40 private $algorithm; variable in X509AlgorithmIdentifier
73 $algorithm = $object->getObjectAt(0);
75 if (!$algorithm instanceof ASN1ObjectId) {
79 $this->algorithm = $algorithm->getValue();
91 $sequence->add(new ASN1ObjectId($this->algorithm));
100 * @param string $algorithm oid
103 public function setAlgorithm($algorithm) { argument
104 $this->algorithm = $algorithm;
114 return $this->algorithm;
H A DX509Certificate.php112 * @param string $algorithm the hash algorithm to use
115 public function verifySignature($data, $sign, $algorithm = 'sha256') { argument
133 return X509Certificate::verifyPublicKeySignature($this->pkey, $data, $sign, $algorithm);
266 * @param string $algorithm the hash algorithm to use
269 public static function verifyPublicKeySignature($pkey, $data, $sign, $algorithm = 'sha256') { argument
286 return openssl_verify($data, $sign, $pkey, $algorithm) === 1;
/plugin/gtime/gtlib/tsp/
H A DGTHashAlgorithm.php141 foreach (GTHashAlgorithm::getSupportedAlgorithms() as $algorithm) {
142 if ($algorithm->getName() === $name) {
143 return $algorithm;
165 foreach (GTHashAlgorithm::getSupportedAlgorithms() as $algorithm) {
166 if ($algorithm->getOid() === $oid) {
167 return $algorithm;
189 foreach (GTHashAlgorithm::getSupportedAlgorithms() as $algorithm) {
190 if ($algorithm->getGtid() === $gtid) {
191 return $algorithm;
/plugin/authgooglesheets/vendor/firebase/php-jwt/src/
H A DKey.php15 private $algorithm; variable in Firebase\\JWT\\Key
19 * @param string $algorithm
23 string $algorithm argument
38 if (empty($algorithm)) {
44 $this->algorithm = $algorithm;
54 return $this->algorithm;
H A DJWT.php229 list($function, $algorithm) = static::$supported_algs[$alg];
235 return \hash_hmac($algorithm, $msg, $key, true);
238 … $success = \openssl_sign($msg, $signature, $key, $algorithm); // @phpstan-ignore-line
291 list($function, $algorithm) = static::$supported_algs[$alg];
294 … $success = \openssl_verify($msg, $signature, $keyMaterial, $algorithm); // @phpstan-ignore-line
324 $hash = \hash_hmac($algorithm, $msg, $keyMaterial, true);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CertificateAuthorityService/
H A DKeyVersionSpec.php25 public $algorithm; variable in Google\\Service\\CertificateAuthorityService\\KeyVersionSpec
34 public function setAlgorithm($algorithm) argument
36 $this->algorithm = $algorithm;
43 return $this->algorithm;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dataflow/
H A DAutoscalingSettings.php25 public $algorithm; variable in Google\\Service\\Dataflow\\AutoscalingSettings
34 public function setAlgorithm($algorithm) argument
36 $this->algorithm = $algorithm;
43 return $this->algorithm;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudKMS/
H A DCryptoKeyVersionTemplate.php25 public $algorithm; variable in Google\\Service\\CloudKMS\\CryptoKeyVersionTemplate
34 public function setAlgorithm($algorithm) argument
36 $this->algorithm = $algorithm;
43 return $this->algorithm;
H A DImportCryptoKeyVersionRequest.php25 public $algorithm; variable in Google\\Service\\CloudKMS\\ImportCryptoKeyVersionRequest
42 public function setAlgorithm($algorithm) argument
44 $this->algorithm = $algorithm;
51 return $this->algorithm;
H A DPublicKey.php25 public $algorithm; variable in Google\\Service\\CloudKMS\\PublicKey
46 public function setAlgorithm($algorithm) argument
48 $this->algorithm = $algorithm;
55 return $this->algorithm;
H A DCryptoKeyVersion.php25 public $algorithm; variable in Google\\Service\\CloudKMS\\CryptoKeyVersion
78 public function setAlgorithm($algorithm) argument
80 $this->algorithm = $algorithm;
87 return $this->algorithm;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudDomains/
H A DDsRecord.php25 public $algorithm; variable in Google\\Service\\CloudDomains\\DsRecord
42 public function setAlgorithm($algorithm) argument
44 $this->algorithm = $algorithm;
51 return $this->algorithm;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dns/
H A DDnsKeySpec.php25 public $algorithm; variable in Google\\Service\\Dns\\DnsKeySpec
42 public function setAlgorithm($algorithm) argument
44 $this->algorithm = $algorithm;
51 return $this->algorithm;
H A DDnsKey.php26 public $algorithm; variable in Google\\Service\\Dns\\DnsKey
69 public function setAlgorithm($algorithm) argument
71 $this->algorithm = $algorithm;
78 return $this->algorithm;
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth1/Signature/
H A DSignature.php19 protected $algorithm; variable in OAuth\\OAuth1\\Signature\\Signature
35 * @param string $algorithm
37 public function setHashingAlgorithm($algorithm) argument
39 $this->algorithm = $algorithm;
123 switch (strtoupper($this->algorithm)) {
128 'Unsupported hashing algorithm (' . $this->algorithm . ') used.'
H A DSignatureInterface.php11 * @param string $algorithm
13 public function setHashingAlgorithm($algorithm); argument
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudMachineLearningEngine/
H A DGoogleCloudMlV1StudyConfig.php26 public $algorithm; variable in Google\\Service\\CloudMachineLearningEngine\\GoogleCloudMlV1StudyConfig
37 public function setAlgorithm($algorithm) argument
39 $this->algorithm = $algorithm;
46 return $this->algorithm;
H A DGoogleCloudMlV1HyperparameterSpec.php26 public $algorithm; variable in Google\\Service\\CloudMachineLearningEngine\\GoogleCloudMlV1HyperparameterSpec
61 public function setAlgorithm($algorithm) argument
63 $this->algorithm = $algorithm;
70 return $this->algorithm;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/
H A DFingerprint.php37 …* @param string $algorithm The hashing algorithm to be used. Valid options are 'md5' and 'sha256'.…
41 public function getFingerprint($algorithm = 'md5') argument
51 switch ($algorithm) {
/plugin/gtime/gtlib/asn1/gt/
H A DGTSignatureInfo.php68 $algorithm = new X509AlgorithmIdentifier();
69 $algorithm->decode($object->getObjectAt(0));
77 $this->signatureAlgorithm = $algorithm;
/plugin/jukebox/id3/
H A Dgetid3.php1063 function getHashdata($algorithm) { argument
1064 switch ($algorithm) {
1070 return $this->error('bad algorithm "'.$algorithm.'" in getHashdata()');
1097 $this->info[$algorithm.'_data'] = false;
1137 $this->info[$algorithm.'_data'] = false;
1142 switch ($algorithm) {
1144 $this->info[$algorithm.'_data'] = getid3_lib::md5_file($temp);
1148 $this->info[$algorithm.'_data'] = getid3_lib::sha1_file($temp);
1167 …->info[$algorithm.'_data'] = getid3_lib::hash_data($this->info['filenamepath'], $this->info['avdat…
1172 switch ($algorithm) {
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudSupport/
H A DMedia.php26 public $algorithm; variable in Google\\Service\\CloudSupport\\Media
127 public function setAlgorithm($algorithm) argument
129 $this->algorithm = $algorithm;
136 return $this->algorithm;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/YouTubeReporting/
H A DGdataMedia.php26 public $algorithm; variable in Google\\Service\\YouTubeReporting\\GdataMedia
127 public function setAlgorithm($algorithm) argument
129 $this->algorithm = $algorithm;
136 return $this->algorithm;
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dgetid3.php1582 * @param string $algorithm
1586 public function getHashdata($algorithm) { argument
1587 switch ($algorithm) {
1593 return $this->error('bad algorithm "'.$algorithm.'" in getHashdata()');
1619 $this->info[$algorithm.'_data'] = false;
1657 $this->info[$algorithm.'_data'] = false;
1662 switch ($algorithm) {
1664 $this->info[$algorithm.'_data'] = md5_file($temp);
1668 $this->info[$algorithm.'_data'] = sha1_file($temp);
1687 …->info[$algorithm.'_data'] = getid3_lib::hash_data($this->info['filenamepath'], $this->info['avdat…
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS8.php344 $algorithm = $decrypted['encryptionAlgorithm']['algorithm'];
345 switch ($algorithm) {
359 $cipher = self::getPBES1EncryptionObject($algorithm);
360 $hash = self::getPBES1Hash($algorithm);
361 $kdf = self::getPBES1KDF($algorithm);
363 $meta['meta']['algorithm'] = $algorithm;
377 $meta['meta']['algorithm'] = $algorithm;

1234