function setDomain()
    {
        $this->domains = func_get_args();
        $this->removeDNProp('id-at-commonName');
        $this->setDNProp('id-at-commonName', $this->domains[0]);
    }
function setDomain()
    {
        $this->domains = func_get_args();
        $this->removeDNProp('id-at-commonName');
        $this->setDNProp('id-at-commonName', $this->domains[0]);
    }
function setDomain ( ) { $ this -> domains = func_get_args ( ) ; $ this -> removeDNProp ( 'id-at-commonName' ) ; $ this -> setDNProp ( 'id-at-commonName' , $ this -> domains [ 0 ] ) ; }
Set the domain name's which the cert is to be valid for

@access public
@return array
Set the domain name s which the cert is to be valid for