public function asIA5String(): Primitive\IA5String
    {
        if (!$this->_element instanceof Primitive\IA5String) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_IA5_STRING));
        }
        return $this->_element;
    }
public function asIA5String(): Primitive\IA5String
    {
        if (!$this->_element instanceof Primitive\IA5String) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_IA5_STRING));
        }
        return $this->_element;
    }
public function asIA5String ( ) : Primitive \ IA5String { if ( ! $ this -> _element instanceof Primitive \ IA5String ) { throw new \ UnexpectedValueException ( $ this -> _generateExceptionMessage ( Element :: TYPE_IA5_STRING ) ) ; } return $ this -> _element ; }
Get the wrapped element as a IA5 string type.

@throws \UnexpectedValueException If the element is not a IA5 string
@return \ASN1\Type\Primitive\IA5String
Get the wrapped element as a IA5 string type .