AcmePhp\Ssl\CertificateResponse::getCertificate PHP Method

getCertificate() public method

public getCertificate ( ) : Certificate
return Certificate
    public function getCertificate()
    {
        return $this->certificate;
    }

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::getCertificate