This function returns If method is SIGN the signed message or If method is DERIVE it returns the derived privat key