Analogic\ACME\Lescript::postNewReg PHP Method

postNewReg() private method

private postNewReg ( )
    private function postNewReg()
    {
        $this->log('Sending registration to letsencrypt server');
        $data = array('resource' => 'new-reg', 'agreement' => $this->license);
        if (!$this->contact) {
            $data['contact'] = $this->contact;
        }
        return $this->signedRequest('/acme/new-reg', $data);
    }