'@see: C{L{Extension.getExtensionArgs}}'

def getExtensionArgs(self):

    if (len(self.auth_policies) == 0):
        ns_args = {'auth_policies': AUTH_NONE}
    else:
        ns_args = {'auth_policies': '    '.join(self.auth_policies)}
    for (level_type, level) in self.auth_levels.iteritems():
        alias = self._getAlias(level_type)
        ns_args[('auth_level.ns.%s' % (alias,))] = level_type
        ns_args[('auth_level.%s' % (alias,))] = str(level)
    if (self.auth_time is not None):
        if (not TIME_VALIDATOR.match(self.auth_time)):
            raise ValueError('auth_time    must    be    in    RFC3339    format')
        ns_args['auth_time'] = self.auth_time
    return ns_args
