public function withPEM(PEM $pem): self
    {
        $certs = $this->_certs;
        $certs[] = Certificate::fromPEM($pem);
        return new self(...$certs);
    }
public function withPEM(PEM $pem): self
    {
        $certs = $this->_certs;
        $certs[] = Certificate::fromPEM($pem);
        return new self(...$certs);
    }
public function withPEM ( PEM $ pem ) : self { $ certs = $ this -> _certs ; $ certs [ ] = Certificate :: fromPEM ( $ pem ) ; return new self ( ... $ certs ) ; }
Get self with single certificate from PEM added.

@param PEM $pem
@return self
Get self with single certificate from PEM added .