Lines Matching refs:format
55 protected $format; variable in phpseclib3\\Crypt\\Common\\AsymmetricKey
170 foreach (self::$plugins[static::ALGORITHM]['Keys'] as $format) {
171 …if (isset(self::$invisiblePlugins[static::ALGORITHM]) && in_array($format, self::$invisiblePlugins…
175 $components = $format::load($key, $password);
188 $components['format'] = $format;
191 $new->format = $format;
260 $format = strtolower($type);
261 if (isset(self::$plugins[static::ALGORITHM]['Keys'][$format])) {
262 $format = self::$plugins[static::ALGORITHM]['Keys'][$format];
263 $components = $format::load($key, $password);
270 $components['format'] = $format;
273 $new->format = $format;
335 * @param string $format
340 protected static function validatePlugin($format, $type, $method = null) argument
343 if (!isset(self::$plugins[static::ALGORITHM][$format][$type])) {
346 $type = self::$plugins[static::ALGORITHM][$format][$type];
358 * @param string $format
360 private static function loadPlugins($format) argument
362 if (!isset(self::$plugins[static::ALGORITHM][$format])) {
363 self::$plugins[static::ALGORITHM][$format] = [];
364 … \DirectoryIterator(__DIR__ . '/../' . static::ALGORITHM . '/Formats/' . $format . '/') as $file) {
372 … $type = 'phpseclib3\Crypt\\' . static::ALGORITHM . '\\Formats\\' . $format . '\\' . $name;
377 self::$plugins[static::ALGORITHM][$format][strtolower($name)] = $type;
435 if (empty($this->format)) {
439 $meta = new \ReflectionClass($this->format);