22 instantiations of RSACryptoServiceProvider
System (2)
security\system\security\cryptography\x509\x509certificate2.cs (2)
97
RSACryptoServiceProvider rsa = new
RSACryptoServiceProvider
();
794
m_privateKey = new
RSACryptoServiceProvider
(parameters);
System.Configuration (1)
System\Configuration\RSAProtectedConfigurationProvider.cs (1)
180
return new
RSACryptoServiceProvider
(2048, csp);
System.Core (1)
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (1)
84
RSACryptoServiceProvider clone = new
RSACryptoServiceProvider
(cspParameters);
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (1)
613
return new
RSACryptoServiceProvider
(privateKeyParams);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
414
rscp = new
RSACryptoServiceProvider
(cspParams);
System.IdentityModel (8)
System\IdentityModel\CryptoHelper.cs (2)
801
rsaProvider = new
RSACryptoServiceProvider
( csp );
852
RSACryptoServiceProvider rsaPublicProvider = new
RSACryptoServiceProvider
( csp );
System\IdentityModel\Tokens\RsaSecurityToken.cs (1)
135
rsa = new
RSACryptoServiceProvider
(keySize);
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (1)
121
RSA rsa = new
RSACryptoServiceProvider
();
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1698
System.Security.Cryptography.RSACryptoServiceProvider rsa = new System.Security.Cryptography.
RSACryptoServiceProvider
();
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (2)
64
this.privateKey = new
RSACryptoServiceProvider
(csp);
447
return new
RSACryptoServiceProvider
(csp);
System\IdentityModel\Tokens\XmlDsigSep2000.cs (1)
189
RSA rsa = new
RSACryptoServiceProvider
();
System.ServiceModel (4)
System\ServiceModel\RsaEndpointIdentity.cs (2)
58
RSACryptoServiceProvider rsa = new
RSACryptoServiceProvider
();
86
RSA rsa = new
RSACryptoServiceProvider
();
System\ServiceModel\Security\SctClaimSerializer.cs (1)
288
System.Security.Cryptography.RSACryptoServiceProvider rsa = new System.Security.Cryptography.
RSACryptoServiceProvider
();
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
1045
token = new RsaSecurityToken(new
RSACryptoServiceProvider
(this.keySize));
System.Windows.Forms (2)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
1485
RSACryptoServiceProvider fixedRsa = new
RSACryptoServiceProvider
(csp);
1519
using (RSACryptoServiceProvider rsaCsp = new
RSACryptoServiceProvider
())
WsatConfig (1)
Configuration\WsatConfiguration.cs (1)
642
new
RSACryptoServiceProvider
(cspParams);
WsatUI (1)
Configuration\WsatConfiguration.cs (1)
642
new
RSACryptoServiceProvider
(cspParams);
91 references to RSACryptoServiceProvider
mscorlib (6)
system\security\cryptography\cryptoconfig.cs (1)
192
Type RSACryptoServiceProviderType = typeof(System.Security.Cryptography.
RSACryptoServiceProvider
);
system\security\cryptography\rsapkcs1signaturedeformatter.cs (2)
74
if (_rsaKey is
RSACryptoServiceProvider
) {
78
return ((
RSACryptoServiceProvider
)_rsaKey).VerifyHash(rgbHash, calgHash, rgbSignature);
system\security\cryptography\rsapkcs1signatureformatter.cs (2)
65
if (_rsaKey is
RSACryptoServiceProvider
) {
69
return ((
RSACryptoServiceProvider
)_rsaKey).SignHash(rgbHash, calgHash);
system\security\cryptography\utils.cs (1)
1036
if (rsaKey is
RSACryptoServiceProvider
)
System (1)
security\system\security\cryptography\x509\x509certificate2.cs (1)
97
RSACryptoServiceProvider
rsa = new RSACryptoServiceProvider();
System.Configuration (7)
System\Configuration\RSAProtectedConfigurationProvider.cs (7)
32
RSACryptoServiceProvider
rsa = GetCryptoServiceProvider(false, true);
53
RSACryptoServiceProvider
rsa = GetCryptoServiceProvider(false, false);
99
RSACryptoServiceProvider
rsa = GetCryptoServiceProvider(exportable, false);
107
RSACryptoServiceProvider
rsa = GetCryptoServiceProvider(false, true);
113
RSACryptoServiceProvider
rsa = GetCryptoServiceProvider(exportable, false);
121
RSACryptoServiceProvider
rsa = GetCryptoServiceProvider(false, false);
162
private
RSACryptoServiceProvider
GetCryptoServiceProvider(bool exportable, bool keyMustExist)
System.Core (5)
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (5)
82
RSACryptoServiceProvider
rsaCsp = (
RSACryptoServiceProvider
)certificate.PrivateKey;
84
RSACryptoServiceProvider
clone = new RSACryptoServiceProvider(cspParameters);
129
RSACryptoServiceProvider
rsaCsp = privateKey as
RSACryptoServiceProvider
;
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (10)
514
RSACryptoServiceProvider
rscp = (
RSACryptoServiceProvider
)certificate.PublicKey.Key;
530
RSACryptoServiceProvider
rscp = (
RSACryptoServiceProvider
)certificate.PrivateKey;
547
RSACryptoServiceProvider
rscp = GetCSPFromCertificatePrivateKey(certificate);
574
RSACryptoServiceProvider
rscp = GetCSPFromCertificatePrivateKey(certificate);
591
private
RSACryptoServiceProvider
GetCSPFromCertificatePrivateKey(X509Certificate2 certificate)
597
privateKeyParams.KeyContainerName = ((
RSACryptoServiceProvider
)certificate.PrivateKey).CspKeyContainerInfo.KeyContainerName;
599
privateKeyParams.KeyNumber = (int)((
RSACryptoServiceProvider
)certificate.PrivateKey).CspKeyContainerInfo.KeyNumber;
604
if (((
RSACryptoServiceProvider
)certificate.PrivateKey).CspKeyContainerInfo.MachineKeyStore)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (9)
82
RSACryptoServiceProvider
rsaProvider = CreateRSACryptoProvider(masterKeyPath, isSystemOp: true);
182
RSACryptoServiceProvider
rsaProvider = CreateRSACryptoProvider(masterKeyPath, isSystemOp: false);
324
private byte[] RSAEncrypt(
RSACryptoServiceProvider
rscp, byte[] columnEncryptionKey)
339
private byte[] RSADecrypt(
RSACryptoServiceProvider
rscp, byte[] encryptedColumnEncryptionKey)
353
private byte[] RSASignHashedData(byte[] dataToSign,
RSACryptoServiceProvider
rscp)
368
private bool RSAVerifySignature(byte[] dataToVerify, byte[] signature,
RSACryptoServiceProvider
rscp)
382
private int GetKeySize(
RSACryptoServiceProvider
rscp)
395
private
RSACryptoServiceProvider
CreateRSACryptoProvider(string keyPath, bool isSystemOp)
409
RSACryptoServiceProvider
rscp = null;
System.IdentityModel (24)
System\IdentityModel\CryptoHelper.cs (7)
765
RSACryptoServiceProvider
rsaProvider = algorithm as
RSACryptoServiceProvider
;
783
internal static AsymmetricSignatureFormatter GetSignatureFormatterForSha256(
RSACryptoServiceProvider
rsaProvider )
815
RSACryptoServiceProvider
rsaProvider = algorithm as
RSACryptoServiceProvider
;
835
internal static AsymmetricSignatureDeformatter GetSignatureDeFormatterForSha256(
RSACryptoServiceProvider
rsaProvider )
852
RSACryptoServiceProvider
rsaPublicProvider = new RSACryptoServiceProvider( csp );
System\IdentityModel\RsaEncryptionCookieTransform.cs (2)
299
RSACryptoServiceProvider
provider = encryptionKey as
RSACryptoServiceProvider
;
System\IdentityModel\RsaSignatureCookieTransform.cs (6)
250
RSACryptoServiceProvider
rsaCryptoServiceProvider = signingKey as
RSACryptoServiceProvider
;
312
RSACryptoServiceProvider
rsaProvider = rsa as
RSACryptoServiceProvider
;
328
RSACryptoServiceProvider
rsaProvider = rsa as
RSACryptoServiceProvider
;
System\IdentityModel\Tokens\RsaSecurityKey.cs (2)
200
RSACryptoServiceProvider
rsaCryptoServiceProvider = this.rsa as
RSACryptoServiceProvider
;
System\IdentityModel\Tokens\RsaSecurityToken.cs (2)
47
RsaSecurityToken(
RSACryptoServiceProvider
rsa, bool ownsRsa)
125
RSACryptoServiceProvider
rsa = null;
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1698
System.Security.Cryptography.
RSACryptoServiceProvider
rsa = new System.Security.Cryptography.RSACryptoServiceProvider();
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (4)
52
RSACryptoServiceProvider
rsaCsp = this.privateKey as
RSACryptoServiceProvider
;
430
RSACryptoServiceProvider
rsaCsp = asymmetricAlgorithm as
RSACryptoServiceProvider
;
System.ServiceModel (8)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (4)
28
RSACryptoServiceProvider
keyProv = cert.PublicKey.Key as
RSACryptoServiceProvider
;
36
RSACryptoServiceProvider
provider = claim.Resource as
RSACryptoServiceProvider
;
System\ServiceModel\RsaEndpointIdentity.cs (1)
58
RSACryptoServiceProvider
rsa = new RSACryptoServiceProvider();
System\ServiceModel\Security\SctClaimSerializer.cs (1)
288
System.Security.Cryptography.
RSACryptoServiceProvider
rsa = new System.Security.Cryptography.RSACryptoServiceProvider();
System\ServiceModel\Security\SecurityUtils.cs (2)
948
RSACryptoServiceProvider
rsa = certificate.PrivateKey as
RSACryptoServiceProvider
;
System.Windows.Forms (9)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (1)
833
byte[] cspPublicKeyBlob = ((
RSACryptoServiceProvider
) snKey).ExportCspBlob(false);
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (8)
1462
internal static
RSACryptoServiceProvider
GetFixedRSACryptoServiceProvider(
RSACryptoServiceProvider
oldCsp, bool useSha256)
1485
RSACryptoServiceProvider
fixedRsa = new RSACryptoServiceProvider(csp);
1509
if (snKey is
RSACryptoServiceProvider
)
1511
cspPublicKeyBlob = (GetFixedRSACryptoServiceProvider((
RSACryptoServiceProvider
)snKey, useSha256)).ExportCspBlob(false);
1519
using (
RSACryptoServiceProvider
rsaCsp = new RSACryptoServiceProvider())
1919
if (signer.StrongNameKey is
RSACryptoServiceProvider
)
1921
signedXml.SigningKey = GetFixedRSACryptoServiceProvider(signer.StrongNameKey as
RSACryptoServiceProvider
, useSha256);
WsatConfig (6)
Configuration\WsatConfiguration.cs (6)
654
if (key is
RSACryptoServiceProvider
)
656
RSACryptoServiceProvider
prov = key as
RSACryptoServiceProvider
;
708
if (key is
RSACryptoServiceProvider
)
710
RSACryptoServiceProvider
prov = key as
RSACryptoServiceProvider
;
WsatUI (6)
Configuration\WsatConfiguration.cs (6)
654
if (key is
RSACryptoServiceProvider
)
656
RSACryptoServiceProvider
prov = key as
RSACryptoServiceProvider
;
708
if (key is
RSACryptoServiceProvider
)
710
RSACryptoServiceProvider
prov = key as
RSACryptoServiceProvider
;