Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ExportExplicitParameters()

override ECParameters System.Security.Cryptography.ECDiffieHellmanImplementation.ECDiffieHellmanCng.ExportExplicitParameters ( bool includePrivateParameters)
inlinevirtual

Reimplemented from System.Security.Cryptography.ECDiffieHellman.

Definition at line 275 of file ECDiffieHellmanImplementation.cs.

276 {
277 byte[] array = ExportFullKeyBlob(includePrivateParameters);
278 try
279 {
280 ECParameters ecParams = default(ECParameters);
281 ECCng.ExportPrimeCurveParameters(ref ecParams, array, includePrivateParameters);
282 return ecParams;
283 }
284 finally
285 {
286 Array.Clear(array);
287 }
288 }

References System.array, System.Array.Clear(), System.Security.Cryptography.ECDiffieHellmanImplementation.ECDiffieHellmanCng.ExportFullKeyBlob(), and System.Security.Cryptography.ECCng.ExportPrimeCurveParameters().