/** * Returns passphrase * * @return string */ public function getPassphrase() { return $this->node->getParam('passphrase'); }
/** * Return's the prepared server node configuration. * * @param \AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $serverNode The server node * * @return \AppserverIo\Appserver\Core\ServerNodeConfiguration The server node configuration */ protected function getServerNodeConfiguration(ServerNodeInterface $serverNode) { // query whether a server signature (software) has been configured if ($serverNode->getParam('software') == null) { $serverNode->setParam('software', ParamNode::TYPE_STRING, $this->getService()->getServerSignature()); } // add the server node configuration return new ServerNodeConfiguration($serverNode); }
/** * Return's the list of available ciphers. * * @return string * @link http://php.net/manual/en/context.ssl.php#context.ssl.ciphers * @link https://www.openssl.org/docs/manmaster/apps/ciphers.html#CIPHER_LIST_FORMAT */ public function getCiphers() { return $this->node->getParam(SslOptionKeys::CIPHERS); }