1 write to Oid
System.Security.Cryptography (1)
System\Security\Cryptography\ECCurve.cs (1)
96curve.Oid = curveOid;
19 references to Oid
System.Security.Cryptography (19)
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (1)
533Oid oid = ecParameters.Curve.Oid;
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.cs (3)
70string oid = !string.IsNullOrEmpty(curve.Oid.Value) ? curve.Oid.Value : curve.Oid.FriendlyName!;
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.ImportExport.cs (3)
112string oid = !string.IsNullOrEmpty(parameters.Curve.Oid.Value) ? 113parameters.Curve.Oid.Value : parameters.Curve.Oid.FriendlyName!;
System\Security\Cryptography\ECCurve.cs (6)
78ArgumentNullException.ThrowIfNull(value, nameof(Oid)); 192if (Oid == null || 193(string.IsNullOrEmpty(Oid.FriendlyName) && string.IsNullOrEmpty(Oid.Value))) 195throw new CryptographicException(SR.Format(SR.Cryptography_InvalidCurveOid, Oid?.Value)); 243if (HasAnyExplicitParameters() || Oid != null)
System\Security\Cryptography\Helpers.cs (4)
210return aCurve.Oid.Value == bCurve.Oid.Value && 211string.Equals(aCurve.Oid.FriendlyName, bCurve.Oid.FriendlyName, StringComparison.OrdinalIgnoreCase);
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (2)
78string? curveOid = ecParameters.Curve.Oid.Value; 83string friendlyName = ecParameters.Curve.Oid.FriendlyName!;