public static void VerifyParameterCtor() { using (DSA dsa = new DSAOpenSsl(DSATestData.Dsa576Parameters)) { DSAImportExport.AssertKeyEquals( DSATestData.Dsa576Parameters, dsa.ExportParameters(true)); } }
private static void CreateWithParameters(DSAParameters parameters) { DSAParameters exportedPrivate; using (DSA dsa = DSA.Create(parameters)) { exportedPrivate = dsa.ExportParameters(true); } DSAImportExport.AssertKeyEquals(parameters, exportedPrivate); }