Alex Salmond has been one of his most outspoken critics and lays out the legal challenge the former PM could face.