1 write to Oid
System.Security.Cryptography (1)
System\Security\Cryptography\ECCurve.cs (1)
96
curve.
Oid
= curveOid;
34 references to Oid
System.Security.Cryptography (34)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.cs (1)
737
internal Oid CurveOid => Curve.
Oid
;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (2)
197
(ecParameters.Curve.
Oid
.Value != _algorithm.CurveOidValue && ecParameters.Curve.
Oid
.FriendlyName != _algorithm.CurveOid.FriendlyName))
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (2)
22
EcdhCurveNameToMagicNumber(parameters.Curve.
Oid
.FriendlyName, includePrivateParameters) :
23
EcdsaCurveNameToMagicNumber(parameters.Curve.
Oid
.FriendlyName, includePrivateParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (4)
39
if (string.IsNullOrEmpty(curve.
Oid
.FriendlyName))
42
SR.Format(SR.Cryptography_InvalidCurveOid, curve.
Oid
.Value));
52
ImportKeyBlob(ecNamedCurveBlob, curve.
Oid
.FriendlyName, includePrivateParameters: true);
57
ImportKeyBlob(ecNamedCurveBlob, curve.
Oid
.FriendlyName, includePrivateParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (4)
55
if (string.IsNullOrEmpty(curve.
Oid
.FriendlyName))
56
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.
Oid
.Value!.ToString()));
65
ImportKeyBlob(ecNamedCurveBlob, curve.
Oid
.FriendlyName, includePrivateParameters: true);
70
ImportKeyBlob(ecNamedCurveBlob, curve.
Oid
.FriendlyName, includePrivateParameters);
System\Security\Cryptography\CngAlgorithmCore.cs (1)
127
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.Value.
Oid
.FriendlyName), e);
System\Security\Cryptography\CngKey.EC.cs (1)
72
string curveName = curve.
Oid
.FriendlyName!;
System\Security\Cryptography\EccKeyFormatHelper.cs (1)
512
Oid oid = ecParameters.Curve.
Oid
;
System\Security\Cryptography\ECCurve.cs (6)
78
ArgumentNullException.ThrowIfNull(value, nameof(
Oid
));
192
if (
Oid
== null ||
193
(string.IsNullOrEmpty(
Oid
.FriendlyName) && string.IsNullOrEmpty(
Oid
.Value)))
195
throw new CryptographicException(SR.Format(SR.Cryptography_InvalidCurveOid,
Oid
?.Value));
243
if (HasAnyExplicitParameters() ||
Oid
!= null)
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (3)
58
if (string.IsNullOrEmpty(curve.
Oid
.FriendlyName))
59
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.
Oid
.Value));
62
CngAlgorithm alg = CngKey.EcdhCurveNameToAlgorithm(curve.
Oid
.FriendlyName);
System\Security\Cryptography\ECDsaCng.Key.cs (3)
47
if (string.IsNullOrEmpty(curve.
Oid
.FriendlyName))
48
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.
Oid
.Value));
51
CngAlgorithm alg = CngKey.EcdsaCurveNameToAlgorithm(curve.
Oid
.FriendlyName);
System\Security\Cryptography\Helpers.cs (4)
217
return aCurve.
Oid
.Value == bCurve.
Oid
.Value &&
218
string.Equals(aCurve.
Oid
.FriendlyName, bCurve.
Oid
.FriendlyName, StringComparison.OrdinalIgnoreCase);
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (2)
78
string? curveOid = ecParameters.Curve.
Oid
.Value;
83
string friendlyName = ecParameters.Curve.
Oid
.FriendlyName!;