The inner signature