internal bool SignFile() { if (!Validate()) { return(false); } try { var privateKey = GetPrivateKey(); RSAService.Sign(this.FileSignName, privateKey); } catch (Exception ex) { return(false); } return(true); }