createSignature returns dynamically allocated sig