public RSAHelper.RSAKey GenerateKey() { var rsaKey = RSAHelper.GenerateRASKey(); Assert.True(!string.IsNullOrEmpty(rsaKey.PrivateKey)); Assert.True(!string.IsNullOrEmpty(rsaKey.PublicKey)); return(rsaKey); }