public function setTrustedRootCertificates(array $certificates = null)
    {
        ValidationUtility::ensureNullOrArrayOfString('$certificates', $certificates);

        $this->trustedRootCertificates = $certificates;

        return $this;
    }