4 instantiations of RSACng
System.Core (3)
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (3)
52
return new
RSACng
(key);
89
return new
RSACng
(key);
147
using (rsaCng = new
RSACng
())
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (1)
405
return new
RSACng
(cngKey);
10 references to RSACng
System.Core (2)
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (2)
119
RSACng
rsaCng = privateKey as
RSACng
;
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (8)
76
RSACng
rsaCngProvider = CreateRSACngProvider(masterKeyPath, isSystemOp: true);
176
RSACng
rsaCngProvider = CreateRSACngProvider(masterKeyPath, isSystemOp: false);
316
private byte[] RSAEncrypt(
RSACng
rsaCngProvider, byte[] columnEncryptionKey)
330
private byte[] RSADecrypt(
RSACng
rsaCngProvider, byte[] encryptedColumnEncryptionKey)
344
private byte[] RSASignHashedData(byte[] dataToSign,
RSACng
rsaCngProvider)
359
private bool RSAVerifySignature(byte[] dataToVerify, byte[] signature,
RSACng
rsaCngProvider)
373
private int GetKeySize(
RSACng
rsaCngProvider)
386
private
RSACng
CreateRSACngProvider(string keyPath, bool isSystemOp)