コード例 #1
0
        public static CtkCryptographyRsa Create()
        {
            var rtn = new CtkCryptographyRsa();
            var rsa = new RSACryptoServiceProvider();

            rtn.m_rsa = rsa;



            return(rtn);
        }
コード例 #2
0
        //=== Static ================================================================


        public static CtkCryptographyRsa FromXml(string xml)
        {
            var rtn = new CtkCryptographyRsa();
            var rsa = new RSACryptoServiceProvider();

            rtn.m_rsa = rsa;

            rsa.FromXmlString(xml);


            return(rtn);
        }