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

◆ CreateFromValueAndName()

static ECCurve System.Security.Cryptography.ECCurve.CreateFromValueAndName ( string oidValue,
string oidFriendlyName )
inlinestaticprivate

Definition at line 153 of file ECCurve.cs.

154 {
155 Oid oid = null;
156 if (oidValue == null && oidFriendlyName != null)
157 {
158 try
159 {
160 oid = System.Security.Cryptography.Oid.FromFriendlyName(oidFriendlyName, OidGroup.PublicKeyAlgorithm);
161 }
162 catch (CryptographicException)
163 {
164 }
165 }
166 if (oid == null)
167 {
168 oid = new Oid(oidValue, oidFriendlyName);
169 }
170 return CreateFromOid(oid);
171 }
static Oid FromFriendlyName(string friendlyName, OidGroup group)
Definition Oid.cs:106
static ECCurve CreateFromOid(Oid curveOid)
Definition ECCurve.cs:127

References System.Security.Cryptography.ECCurve.CreateFromOid(), System.Security.Cryptography.Oid.FromFriendlyName(), and System.Security.Cryptography.ECCurve.Oid.

Referenced by System.Security.Cryptography.ECCurve.CreateFromFriendlyName(), and System.Security.Cryptography.ECCurve.CreateFromValue().