'Parse the first line of a GNTP message to get security and other info values
:param string data: GNTP Message
:return dict: Parsed GNTP Info line'

def _parse_info(self, data):

    match = GNTP_INFO_LINE.match(data)
    if (not match):
        raise errors.ParseError('ERROR_PARSING_INFO_LINE')
    info = match.groupdict()
    if (info['encryptionAlgorithmID'] == 'NONE'):
        info['encryptionAlgorithmID'] = None
    return info
