コード例 #1
0
ファイル: AttributeCertificate.php プロジェクト: sop/x509
 /**
  * Get ASN.1 structure.
  *
  * @return Sequence
  */
 public function toASN1()
 {
     return new Sequence($this->_acinfo->toASN1(), $this->_signatureAlgorithm->toASN1(), $this->_signatureValue->toBitString());
 }
コード例 #2
0
ファイル: CertificationRequest.php プロジェクト: sop/x509
 /**
  * Generate ASN.1 structure.
  *
  * @return Sequence
  */
 public function toASN1()
 {
     return new Sequence($this->_certificationRequestInfo->toASN1(), $this->_signatureAlgorithm->toASN1(), $this->_signature->toBitString());
 }