You are here

public function TLS::isAvailable in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Crypt/Method/TLS.php \Drupal\drd_agent\Crypt\Method\TLS::isAvailable()

Find out if the crypt method is available.

Return value

bool TRUE if method is available.

Overrides BaseMethodInterface::isAvailable

File

src/Crypt/Method/TLS.php, line 39

Class

TLS
Provides security over TLS without additional encryption.

Namespace

Drupal\drd_agent\Crypt\Method

Code

public function isAvailable() : bool {

  // TODO: properly find out if the remote site is running on TLD.
  return FALSE;
}