/**
  * @return MWP_Signer_Interface
  */
 public function createSigner()
 {
     if ($this->getSystemEnvironment()->isOpenSslLibraryEnabled()) {
         return MWP_Signer_Factory::createOpenSslSigner();
     }
     return MWP_Signer_Factory::createPhpSecLibSigner();
 }
Beispiel #2
0
 /**
  * @return MWP_Signer_Interface
  */
 public function createSigner()
 {
     if ($this->getParameter('prefer_phpseclib')) {
         return MWP_Signer_Factory::createPhpSecLibSigner();
     }
     return MWP_Signer_Factory::createSigner();
 }