コード例 #1
0
 /**
  * Get the issuer DN of the certificate.
  *
  * @return string
  */
 public function getIssuerDN()
 {
     $x509 = new X509();
     $x509->loadX509($this->contents);
     return $x509->getIssuerDN(X509::DN_STRING);
 }
コード例 #2
0
 /**
  * Get the issuer DN of the certificate.
  *
  * @return string
  */
 public function getIssuerDN()
 {
     $x509 = new X509();
     $x509->loadX509($this->contents);
     return $x509->getIssuerDN(true);
 }