8 instantiations of RSAParameters
Microsoft.AspNetCore.Identity (1)
Microsoft.CodeAnalysis (1)
Microsoft.DotNet.StrongName (1)
System.Security.Cryptography (3)
System.Security.Cryptography.Xml (1)
System.ServiceModel.Primitives (1)
102 references to RSAParameters
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.CodeAnalysis (18)
StrongName\StrongNameKeys.cs (6)
31internal readonly RSAParameters? PrivateKey;
75internal StrongNameKeys(ImmutableArray<byte> keyPair, ImmutableArray<byte> publicKey, RSAParameters? privateKey, string? keyContainerName, string? keyFilePath, bool hasCounterSignature)
88internal static StrongNameKeys Create(ImmutableArray<byte> publicKey, RSAParameters? privateKey, bool hasCounterSignature, CommonMessageProvider messageProvider)
125private static Tuple<ImmutableArray<byte>, ImmutableArray<byte>, RSAParameters?>? s_lastSeenKeyPair;
132RSAParameters? privateKey = null;
159cachedKeyPair = new Tuple<ImmutableArray<byte>, ImmutableArray<byte>, RSAParameters?>(keyPair, publicKey, privateKey);
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.UnitTests (4)
Microsoft.DotNet.StrongName (4)
mscorlib (1)
netstandard (1)
System.Configuration.ConfigurationManager (1)
System.Security.Cryptography (64)
System\Security\Cryptography\RSA.Xml.cs (18)
31byte[] n = ReadRequiredElement(ref state, nameof(RSAParameters.Modulus));
32byte[] e = ReadRequiredElement(ref state, nameof(RSAParameters.Exponent));
38byte[]? p = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.P), halfN);
39byte[]? q = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.Q), halfN);
40byte[]? dp = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.DP), halfN);
41byte[]? dq = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.DQ), halfN);
42byte[]? qInv = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.InverseQ), halfN);
43byte[]? d = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.D), n.Length);
45RSAParameters keyParameters = new RSAParameters
109RSAParameters keyParameters = ExportParameters(includePrivateParameters);
112XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.Modulus), keyParameters.Modulus, builder);
113XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.Exponent), keyParameters.Exponent, builder);
118XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.P), keyParameters.P, builder);
119XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.Q), keyParameters.Q, builder);
120XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.DP), keyParameters.DP, builder);
121XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.DQ), keyParameters.DQ, builder);
122XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.InverseQ), keyParameters.InverseQ, builder);
123XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.D), keyParameters.D, builder);
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Xml (1)
System.ServiceModel.Primitives (2)