33 references to FriendlyName
Microsoft.Build.Tasks.Core (3)
ManifestUtil\SecurityUtil.cs (3)
617return string.Equals(oid.FriendlyName, "sha256RSA", StringComparison.OrdinalIgnoreCase) || 618string.Equals(oid.FriendlyName, "sha384RSA", StringComparison.OrdinalIgnoreCase) || 619string.Equals(oid.FriendlyName, "sha512RSA", StringComparison.OrdinalIgnoreCase);
NuGet.Packaging (1)
Signing\Timestamp\Rfc3161TimestampProvider.cs (1)
220return oid.FriendlyName?.ToUpper(CultureInfo.InvariantCulture) ?? oid.Value!;
System.Security.Cryptography (27)
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)
22EcdhCurveNameToMagicNumber(parameters.Curve.Oid.FriendlyName, includePrivateParameters) : 23EcdsaCurveNameToMagicNumber(parameters.Curve.Oid.FriendlyName, includePrivateParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (3)
39if (string.IsNullOrEmpty(curve.Oid.FriendlyName)) 52ImportKeyBlob(ecNamedCurveBlob, curve.Oid.FriendlyName, includePrivateParameters: true); 57ImportKeyBlob(ecNamedCurveBlob, curve.Oid.FriendlyName, includePrivateParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (3)
55if (string.IsNullOrEmpty(curve.Oid.FriendlyName)) 65ImportKeyBlob(ecNamedCurveBlob, curve.Oid.FriendlyName, includePrivateParameters: true); 70ImportKeyBlob(ecNamedCurveBlob, curve.Oid.FriendlyName, includePrivateParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
55_ = oid.FriendlyName;
System\Security\Cryptography\CngAlgorithmCore.cs (1)
127throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.Value.Oid.FriendlyName), e);
System\Security\Cryptography\CngKey.EC.cs (1)
72string curveName = curve.Oid.FriendlyName!;
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
517Debug.Assert(oid.FriendlyName != null); 518oid = Oid.FromFriendlyName(oid.FriendlyName, OidGroup.All);
System\Security\Cryptography\ECCurve.cs (2)
80if (string.IsNullOrEmpty(value.Value) && string.IsNullOrEmpty(value.FriendlyName)) 193(string.IsNullOrEmpty(Oid.FriendlyName) && string.IsNullOrEmpty(Oid.Value)))
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (2)
58if (string.IsNullOrEmpty(curve.Oid.FriendlyName)) 62CngAlgorithm alg = CngKey.EcdhCurveNameToAlgorithm(curve.Oid.FriendlyName);
System\Security\Cryptography\ECDsaCng.Key.cs (2)
47if (string.IsNullOrEmpty(curve.Oid.FriendlyName)) 51CngAlgorithm alg = CngKey.EcdsaCurveNameToAlgorithm(curve.Oid.FriendlyName);
System\Security\Cryptography\Helpers.cs (2)
218string.Equals(aCurve.Oid.FriendlyName, bCurve.Oid.FriendlyName, StringComparison.OrdinalIgnoreCase);
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
83string friendlyName = ecParameters.Curve.Oid.FriendlyName!;
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (3)
556sb.Append(SignatureAlgorithm.FriendlyName); 572sb.Append(pubKey.Oid.FriendlyName); 625sb.Append(extension.Oid!.FriendlyName);
System.Security.Cryptography.Pkcs (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
55_ = oid.FriendlyName;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
267string? friendlyName = oid.FriendlyName;