5 writes to DQ
Microsoft.CodeAnalysis (1)
StrongName\CryptoBlobParser.cs (1)
282rsaParameters.DQ = br.ReadReversed(halfModulusLength);
Microsoft.DotNet.StrongName (1)
Utils.cs (1)
204rsaParameters.DQ = br.ReadReversed(halfModulusLength);
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (1)
60DQ = new byte[halfModulusLength],
System\Security\Cryptography\CapiHelper.Shared.cs (1)
186rsaParameters.DQ = br.ReadReversed(halfModulusLength);
System\Security\Cryptography\RSA.Xml.cs (1)
53DQ = dq,
19 references to DQ
Microsoft.CodeAnalysis.UnitTests (2)
CryptoBlobParserTests.cs (2)
54AssertEx.Equal(expectedDQ, privKey.DQ); 97AssertEx.Equal(expectedDQ, privKey.DQ);
System.Security.Cryptography (17)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (4)
70using (PinAndClear.Track(parameters.DQ)) 87key.Exponent2.ToUnsignedIntegerBytes(parameters.DQ); 147rsaParameters.DQ == null || 165writer.WriteKeyParameterInteger(rsaParameters.DQ);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
681parameters.DQ != null || 692parameters.DQ == null ||
System\Security\Cryptography\CapiHelper.Shared.cs (3)
93if (rsaParameters.DQ == null || rsaParameters.DQ.Length != halfModulusLength) 133bw.WriteReversed(rsaParameters.DQ!);
System\Security\Cryptography\RSA.cs (4)
861fixed (byte* dqPin = rsaParameters.DQ) 979fixed (byte* dqPin = ret.DQ) 1010fixed (byte* dqPin = ret.DQ) 1378CryptographicOperations.ZeroMemory(rsaParameters.DQ);
System\Security\Cryptography\RSA.Xml.cs (3)
41byte[]? dq = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.DQ), halfN); 121XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.DQ), keyParameters.DQ, builder);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
777using (PinAndClear.Track(rsaParameters.DQ!))