Пример #1
0
 /**
  * @param OutputInterface $output
  * @param PrivateKeyInterface $key
  */
 public static function dumpPrivateKey(OutputInterface $output, PrivateKeyInterface $key)
 {
     $output->writeln('<comment>Private key information</comment>');
     $output->writeln('');
     $output->writeln('<info>Curve type</info> : ' . $key->getCurve()->getName());
     $output->writeln('<info>Secret</info>     : ' . $key->getSecret());
 }