'Returns the encryption specs for a given volume type.'

def index(self, req, type_id):

    context = req.environ['cinder.context']
    authorize(context)
    self._check_type(context, type_id)
    return self._get_volume_type_encryption(context, type_id)
