Lines Matching refs:Strings
22 use phpseclib3\Common\Functions\Strings; alias
145 if (!Strings::is_stringable($key)) {
193 if (Strings::shift($key[0], strlen('PuTTY-User-Key-File-')) != 'PuTTY-User-Key-File-') {
196 …$version = (int) Strings::shift($key[0], 3); // should be either "2: " or "3: 0" prior to int cast…
213 $source = Strings::packSSH2('ssss', $type, $encryption, $components['comment'], $public);
215 extract(unpack('Nlength', Strings::shift($public, 4)));
216 $newtype = Strings::shift($public, $length);
273 $source .= Strings::packSSH2('s', $private);
308 $public = Strings::packSSH2('s', $type) . $public;
310 $source = Strings::packSSH2('ssss', $type, $encryption, $comment, $public);
317 $source .= Strings::packSSH2('s', $private);
329 $source .= Strings::packSSH2('s', $private);