7 writes to D
Microsoft.CodeAnalysis (1)
StrongName\CryptoBlobParser.cs (1)
284rsaParameters.D = br.ReadReversed(modulusLength);
Microsoft.DotNet.StrongName (1)
Utils.cs (1)
206rsaParameters.D = br.ReadReversed(modulusLength);
Mono.Cecil (1)
Mono.Security.Cryptography\CryptoConvert.cs (1)
134 rsap.D = new byte [byteLen]; // must be allocated
System.Security.Cryptography (4)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (1)
42D = new byte[n.Length],
System\Security\Cryptography\CapiHelper.Shared.cs (1)
188rsaParameters.D = br.ReadReversed(modulusLength);
System\Security\Cryptography\CngHelpers.cs (1)
272rsaParams.D = Interop.BCrypt.Consume(rsaBlob, ref offset, pBcryptBlob->cbModulus);
System\Security\Cryptography\RSA.Xml.cs (1)
49D = d,
22 references to D
Mono.Cecil (2)
Mono.Security.Cryptography\CryptoConvert.cs (2)
137 Buffer.BlockCopy (blob, pos, rsap.D, 0, byteLen); 138 Array.Reverse (rsap.D);
System.Security.Cryptography (20)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.ImportExport.cs (1)
31ImportKeyBlob(keyBlob, parameters.D != null);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (4)
52using (PinAndClear.Track(parameters.D)) 69key.PrivateExponent.ToUnsignedIntegerBytes(parameters.D); 118if (rsaParameters.D == null || 136writer.WriteKeyParameterInteger(rsaParameters.D);
System\Security\Cryptography\CapiHelper.Shared.cs (3)
99if (rsaParameters.D == null || rsaParameters.D.Length != modulusLength) 135bw.WriteReversed(rsaParameters.D!);
System\Security\Cryptography\CngHelpers.cs (2)
118if (parameters.D == null) 153if (parameters.D.Length != parameters.Modulus.Length ||
System\Security\Cryptography\RSA.cs (4)
857fixed (byte* dPin = rsaParameters.D) 955fixed (byte* dPin = ret.D) 986fixed (byte* dPin = ret.D) 1354CryptographicOperations.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\RSABCrypt.cs (2)
105parameters.D != null ? 117SetKey(newKey, publicOnly: parameters.D is null);
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (1)
236using (PinAndClear.Track(privateParameters.D!))