private void EncryptResponse(Context ctx) { ctx.Channel.CipherLib["rsa-public"] = X509Store.GetCertificate($"{ctx.Userprofile.Path}/cer.pem").Clone(); ctx.Channel.Encrypt(); }