def getComponent(self, innerFlag=False):
if self._currentIdx is None:<EOL><INDENT>raise error.PyAsn1Error('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>c = self._componentValues[self._currentIdx]<EOL>if innerFlag and isinstance(c, Choice):<EOL><INDENT>return c.getComponent(innerFlag)<EOL><DEDENT>else:<EOL><INDENT>return c<EOL><DEDENT><DEDENT>
Return currently assigned component of the |ASN.1| object.

        Returns
        -------
        : :py:class:`~pyasn1.type.base.PyAsn1Item`
            a PyASN1 object