AcmePhp\Cli\Repository\Repository::storeCertificateResponse PHP Method

storeCertificateResponse() public method

public storeCertificateResponse ( CertificateResponse $certificateResponse )
$certificateResponse AcmePhp\Ssl\CertificateResponse
    public function storeCertificateResponse(CertificateResponse $certificateResponse)
    {
        $distinguishedName = $certificateResponse->getCertificateRequest()->getDistinguishedName();
        $domain = $distinguishedName->getCommonName();
        $this->storeDomainKeyPair($domain, $certificateResponse->getCertificateRequest()->getKeyPair());
        $this->storeDomainDistinguishedName($domain, $distinguishedName);
        $this->storeDomainCertificate($domain, $certificateResponse->getCertificate());
    }