3 writes to P
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
50P = key.Prime1.ExportKeyParameter(halfModulusLength),
System\Security\Cryptography\CapiHelper.Shared.cs (1)
183rsaParameters.P = br.ReadReversed(halfModulusLength);
System\Security\Cryptography\RSA.Xml.cs (1)
50P = p,
20 references to P
System.Security.Cryptography (20)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (2)
282rsaParameters.P == null || 300writer.WriteKeyParameterInteger(rsaParameters.P);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
680if (parameters.P != null || 691if (parameters.P == null ||
System\Security\Cryptography\CapiHelper.Shared.cs (5)
82if (rsaParameters.P != null) 84if (rsaParameters.P.Length != halfModulusLength) 103bool isPrivate = (rsaParameters.P != null && rsaParameters.P.Length != 0); 130bw.WriteReversed(rsaParameters.P!);
System\Security\Cryptography\RSA.cs (5)
858fixed (byte* pPin = rsaParameters.P) 943fixed (byte* pPin = rsaParameters.P) 997fixed (byte* pPin = ret.P) 1028fixed (byte* pPin = ret.P) 1396CryptographicOperations.ZeroMemory(rsaParameters.P);
System\Security\Cryptography\RSA.Xml.cs (3)
38byte[]? p = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.P), halfN); 118XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.P), keyParameters.P, builder);
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (2)
139_publicOnly = (parameters.P == null || parameters.P.Length == 0);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
691using (PinAndClear.Track(rsaParameters.P!))