public function __construct($certificatePEM, Certificate $issuerCertificate = null)
{
Assert::stringNotEmpty($certificatePEM, __CLASS__ . '::$certificatePEM should not be an empty string. Got %s');
$this->certificatePEM = $certificatePEM;
$this->issuerCertificate = $issuerCertificate;
}