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

◆ ImportFullKeyBlob()

static CngKey System.Security.Cryptography.ECCng.ImportFullKeyBlob ( byte[] ecBlob,
bool includePrivateParameters )
inlinestaticpackage

Definition at line 17 of file ECCng.cs.

18 {
19 CngKeyBlobFormat format = (includePrivateParameters ? CngKeyBlobFormat.EccFullPrivateBlob : CngKeyBlobFormat.EccFullPublicBlob);
20 CngKey cngKey = CngKey.Import(ecBlob, format);
21 cngKey.ExportPolicy |= CngExportPolicies.AllowPlaintextExport;
22 return cngKey;
23 }

References System.Security.Cryptography.CngKeyBlobFormat.EccFullPublicBlob, System.format, and System.Security.Cryptography.CngKey.Import().

Referenced by System.Security.Cryptography.ECDiffieHellmanCng.ImportFullKeyBlob(), and System.Security.Cryptography.ECDsaCng.ImportFullKeyBlob().