Lines Matching refs:ALGORITHM
153 if (static::ALGORITHM != 'RSA' && static::ALGORITHM != 'DH') {
170 foreach (self::$plugins[static::ALGORITHM]['Keys'] as $format) {
171 …(isset(self::$invisiblePlugins[static::ALGORITHM]) && in_array($format, self::$invisiblePlugins[st…
261 if (isset(self::$plugins[static::ALGORITHM]['Keys'][$format])) {
262 $format = self::$plugins[static::ALGORITHM]['Keys'][$format];
343 if (!isset(self::$plugins[static::ALGORITHM][$format][$type])) {
346 $type = self::$plugins[static::ALGORITHM][$format][$type];
362 if (!isset(self::$plugins[static::ALGORITHM][$format])) {
363 self::$plugins[static::ALGORITHM][$format] = [];
364 …foreach (new \DirectoryIterator(__DIR__ . '/../' . static::ALGORITHM . '/Formats/' . $format . '/'…
372 … $type = 'phpseclib3\Crypt\\' . static::ALGORITHM . '\\Formats\\' . $format . '\\' . $name;
377 self::$plugins[static::ALGORITHM][$format][strtolower($name)] = $type;
379 self::$invisiblePlugins[static::ALGORITHM][] = $type;
395 return self::$plugins[static::ALGORITHM]['Keys'];
416 self::$plugins[static::ALGORITHM]['Keys'][strtolower($shortname)] = $fullname;
418 self::$invisiblePlugins[static::ALGORITHM] = strtolower($name);