");
sb.Append ("");
sb.Append (Convert.ToBase64String (dhParams.P));
sb.Append ("
");
sb.Append ("");
sb.Append (Convert.ToBase64String (dhParams.G));
sb.Append ("");
if (includePrivateParameters) {
sb.Append ("");
sb.Append (Convert.ToBase64String (dhParams.X));
sb.Append ("");
}
sb.Append ("");
} finally {
Array.Clear(dhParams.P, 0, dhParams.P.Length);
Array.Clear(dhParams.G, 0, dhParams.G.Length);
if (dhParams.X != null)
Array.Clear(dhParams.X, 0, dhParams.X.Length);
}
return sb.ToString ();
}
}
}