예제 #1
0
 protected function _valueASN1()
 {
     $flags = new Flags($this->_keyUsage, 9);
     return $flags->bitString()->withoutTrailingZeroes();
 }
예제 #2
0
파일: ReasonFlags.php 프로젝트: sop/x509
 /**
  * Generate ASN.1 element.
  *
  * @return BitString
  */
 public function toASN1()
 {
     $flags = new Flags($this->_flags, 9);
     return $flags->bitString()->withoutTrailingZeroes();
 }