Lines Matching refs:key
54 * @param string $key
58 public static function load($key, $password = '') argument
60 $parsed = parent::load($key, $password);
69 list(, $key, $comment) = Strings::unpackSSH2('sss', $paddedKey);
70 $key = libsodium::load($key);
71 $key['comment'] = $comment;
72 return $key;
153 $key = Strings::packSSH2('ss', 'ssh-ed25519', $curve->encodePoint($publicKey));
156 return $key;
159 $key = 'ssh-ed25519 ' . base64_encode($key) . ' ' . $comment;
160 return $key;
166 $key = Strings::packSSH2('sss', 'ecdsa-sha2-' . $alias, $alias, $points);
169 return $key;
172 $key = 'ecdsa-sha2-' . $alias . ' ' . base64_encode($key) . ' ' . $comment;
174 return $key;