original_string: public function asOctetString(): Primitive\OctetString
      {
          if (!$this->_element instanceof Primitive\OctetString) {
              throw new \UnexpectedValueException(
                  $this->_generateExceptionMessage(Element::TYPE_OCTET_STRING));
          }
          return $this->_element;
      }
code: public function asOctetString(): Primitive\OctetString
      {
          if (!$this->_element instanceof Primitive\OctetString) {
              throw new \UnexpectedValueException(
                  $this->_generateExceptionMessage(Element::TYPE_OCTET_STRING));
          }
          return $this->_element;
      }
code_tokens: public function asOctetString ( ) : Primitive \ OctetString { if ( ! $ this -> _element instanceof Primitive \ OctetString ) { throw new \ UnexpectedValueException ( $ this -> _generateExceptionMessage ( Element :: TYPE_OCTET_STRING ) ) ; } return $ this -> _element ; }
docstring: Get the wrapped element as an octet string type.
  
  @throws \UnexpectedValueException If the element is not an octet string
  @return \ASN1\Type\Primitive\OctetString
docstring_tokens: Get the wrapped element as an octet string type .