//加载公钥RsaKeyParameterspubkey;using(varsr=newStreamReader(ConfigurationManager.AppSettings["PubKey"])){varpemReader=newOrg.BouncyCastle.OpenSsl.PemReader(sr);pubkey=(RsaKeyParameters)pemReader.ReadObject();}//初始