AcmePhp\Ssl\CertificateResponse::getCertificateRequest PHP Method

getCertificateRequest() public method

public getCertificateRequest ( ) : CertificateRequest
return CertificateRequest
    public function getCertificateRequest()
    {
        return $this->certificateRequest;
    }

Usage Example

Example #1
0
 /**
  * {@inheritdoc}
  */
 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());
 }
All Usage Examples Of AcmePhp\Ssl\CertificateResponse::getCertificateRequest