public function asApplication(): Tagged\ApplicationType
    {
        if (!$this->_element instanceof Tagged\ApplicationType) {
            throw new \UnexpectedValueException(
                "Application type expected, got " .
                $this->_typeDescriptorString());
        }
        return $this->_element;
    }
public function asApplication(): Tagged\ApplicationType
    {
        if (!$this->_element instanceof Tagged\ApplicationType) {
            throw new \UnexpectedValueException(
                "Application type expected, got " .
                $this->_typeDescriptorString());
        }
        return $this->_element;
    }
public function asApplication ( ) : Tagged \ ApplicationType { if ( ! $ this -> _element instanceof Tagged \ ApplicationType ) { throw new \ UnexpectedValueException ( "Application type expected, got " . $ this -> _typeDescriptorString ( ) ) ; } return $ this -> _element ; }
Get the wrapped element as an application specific type.

@throws \UnexpectedValueException If element is not application specific
@return \ASN1\Type\Tagged\ApplicationType
Get the wrapped element as an application specific type .