5 writes to P
Microsoft.CodeAnalysis (1)
StrongName\CryptoBlobParser.cs (1)
279
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
Microsoft.DotNet.StrongName (1)
Utils.cs (1)
201
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (1)
57
P
= new byte[halfModulusLength],
System\Security\Cryptography\CapiHelper.Shared.cs (1)
183
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
System\Security\Cryptography\RSA.Xml.cs (1)
50
P
= p,
23 references to P
Microsoft.CodeAnalysis.UnitTests (2)
CryptoBlobParserTests.cs (2)
42
AssertEx.Equal(expectedP, privKey.
P
);
85
AssertEx.Equal(expectedP, privKey.
P
);
System.Security.Cryptography (21)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (4)
67
using (PinAndClear.Track(parameters.
P
))
84
key.Prime1.ToUnsignedIntegerBytes(parameters.
P
);
144
rsaParameters.
P
== null ||
162
writer.WriteKeyParameterInteger(rsaParameters.
P
);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
678
if (parameters.
P
!= null ||
689
if (parameters.
P
== null ||
System\Security\Cryptography\CapiHelper.Shared.cs (5)
82
if (rsaParameters.
P
!= null)
84
if (rsaParameters.
P
.Length != halfModulusLength)
103
bool isPrivate = (rsaParameters.
P
!= null && rsaParameters.
P
.Length != 0);
130
bw.WriteReversed(rsaParameters.
P
!);
System\Security\Cryptography\RSA.cs (4)
858
fixed (byte* pPin = rsaParameters.
P
)
976
fixed (byte* pPin = ret.
P
)
1007
fixed (byte* pPin = ret.
P
)
1375
CryptographicOperations.ZeroMemory(rsaParameters.
P
);
System\Security\Cryptography\RSA.Xml.cs (3)
38
byte[]? p = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.
P
), halfN);
118
XmlKeyHelper.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)
774
using (PinAndClear.Track(rsaParameters.
P
!))