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