public static CtkCryptographyRsa Create() { var rtn = new CtkCryptographyRsa(); var rsa = new RSACryptoServiceProvider(); rtn.m_rsa = rsa; return(rtn); }
//=== Static ================================================================ public static CtkCryptographyRsa FromXml(string xml) { var rtn = new CtkCryptographyRsa(); var rsa = new RSACryptoServiceProvider(); rtn.m_rsa = rsa; rsa.FromXmlString(xml); return(rtn); }