/// <summary> /// Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm. /// </summary> /// <param name="parameters"> /// The <see cref="ECParameters"/> representing the elliptic curve parameters. /// </param> public static partial ECDsa Create(ECParameters parameters) { ECDsa ec = new ECDsaOpenSsl(); try { ec.ImportParameters(parameters); return(new ECDsaWrapper(ec)); } catch { ec.Dispose(); throw; } }