5 writes to D
Microsoft.CodeAnalysis (1)
StrongName\CryptoBlobParser.cs (1)
284rsaParameters.D = br.ReadReversed(modulusLength);
Microsoft.DotNet.SignTool (1)
src\StrongName.cs (1)
837rsaParameters.D = br.ReadReversed(modulusLength);
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
49D = key.PrivateExponent.ExportKeyParameter(n.Length),
System\Security\Cryptography\CapiHelper.Shared.cs (1)
188rsaParameters.D = br.ReadReversed(modulusLength);
System\Security\Cryptography\RSA.Xml.cs (1)
49D = d,
18 references to D
Microsoft.CodeAnalysis.UnitTests (2)
CryptoBlobParserTests.cs (2)
62AssertEx.Equal(expectedD, privKey.D); 105AssertEx.Equal(expectedD, privKey.D);
System.Security.Cryptography (16)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (2)
281if (rsaParameters.D == null || 299writer.WriteKeyParameterInteger(rsaParameters.D);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
453if (parameters.D != null) 676if (parameters.D == null)
System\Security\Cryptography\CapiHelper.Shared.cs (3)
99if (rsaParameters.D == null || rsaParameters.D.Length != modulusLength) 135bw.WriteReversed(rsaParameters.D!);
System\Security\Cryptography\RSA.cs (5)
857fixed (byte* dPin = rsaParameters.D) 942fixed (byte* dPin = rsaParameters.D) 996fixed (byte* dPin = ret.D) 1027fixed (byte* dPin = ret.D) 1395CryptographicOperations.ZeroMemory(rsaParameters.D);
System\Security\Cryptography\RSA.Xml.cs (3)
43byte[]? d = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.D), n.Length); 123XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.D), keyParameters.D, builder);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
691using (PinAndClear.Track(rsaParameters.D!))