public function withTrustAnchor(Certificate $ca): self
    {
        $obj = clone $this;
        $obj->_trustAnchor = $ca;
        return $obj;
    }
public function withTrustAnchor(Certificate $ca): self
    {
        $obj = clone $this;
        $obj->_trustAnchor = $ca;
        return $obj;
    }
public function withTrustAnchor ( Certificate $ ca ) : self { $ obj = clone $ this ; $ obj -> _trustAnchor = $ ca ; return $ obj ; }
Get self with trust anchor certificate.

@param Certificate $ca
@return self
Get self with trust anchor certificate .