5 writes to P
Microsoft.CodeAnalysis (1)
StrongName\CryptoBlobParser.cs (1)
279
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
Microsoft.DotNet.SignTool (1)
src\StrongName.cs (1)
832
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
50
P
= key.Prime1.ExportKeyParameter(halfModulusLength),
System\Security\Cryptography\CapiHelper.Shared.cs (1)
183
rsaParameters.
P
= br.ReadReversed(halfModulusLength);
System\Security\Cryptography\RSA.Xml.cs (1)
50
P
= p,
22 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 (20)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (2)
282
rsaParameters.
P
== null ||
300
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 (5)
858
fixed (byte* pPin = rsaParameters.
P
)
943
fixed (byte* pPin = rsaParameters.
P
)
997
fixed (byte* pPin = ret.
P
)
1028
fixed (byte* pPin = ret.
P
)
1396
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)
692
using (PinAndClear.Track(rsaParameters.
P
!))