4 instantiations of CngProvider
System.Core (3)
System\Security\Cryptography\CngKey.cs (1)
287
return new
CngProvider
(provider);
System\Security\Cryptography\CngProvider.cs (2)
101
s_msSmartCardKsp = new
CngProvider
("Microsoft Smart Card Key Storage Provider"); // MS_SMART_CARD_KEY_STORAGE_PROVIDER
113
s_msSoftwareKsp = new
CngProvider
("Microsoft Software Key Storage Provider"); // MS_KEY_STORAGE_PROVIDER
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (1)
393
CngProvider cngProvider = new
CngProvider
(cngProviderName);
29 references to CngProvider
System.Core (28)
System\Security\Cryptography\CngKey.cs (11)
275
public
CngProvider
Provider {
495
return Exists(keyName,
CngProvider
.MicrosoftSoftwareKeyStorageProvider);
498
public static bool Exists(string keyName,
CngProvider
provider) {
504
public static bool Exists(string keyName,
CngProvider
provider, CngKeyOpenOptions options) {
553
return Import(keyBlob, format,
CngProvider
.MicrosoftSoftwareKeyStorageProvider);
558
return Import(keyBlob, curveName, format,
CngProvider
.MicrosoftSoftwareKeyStorageProvider);
561
public static CngKey Import(byte[] keyBlob, CngKeyBlobFormat format,
CngProvider
provider) {
567
internal static CngKey Import(byte[] keyBlob, string curveName, CngKeyBlobFormat format,
CngProvider
provider)
680
return Open(keyName,
CngProvider
.MicrosoftSoftwareKeyStorageProvider);
683
public static CngKey Open(string keyName,
CngProvider
provider) {
689
public static CngKey Open(string keyName,
CngProvider
provider, CngKeyOpenOptions openOptions) {
System\Security\Cryptography\CngKeyCreationParameters.cs (4)
25
private
CngProvider
m_provider =
CngProvider
.MicrosoftSoftwareKeyStorageProvider;
88
public
CngProvider
Provider {
90
Contract.Ensures(Contract.Result<
CngProvider
>() != null);
System\Security\Cryptography\CngProvider.cs (13)
20
public sealed class CngProvider : IEquatable<
CngProvider
> {
21
private static volatile
CngProvider
s_msSmartCardKsp;
22
private static volatile
CngProvider
s_msSoftwareKsp;
49
public static bool operator ==(
CngProvider
left,
CngProvider
right) {
58
public static bool operator !=(
CngProvider
left,
CngProvider
right) {
69
return Equals(obj as
CngProvider
);
72
public bool Equals(
CngProvider
other) {
96
public static
CngProvider
MicrosoftSmartCardKeyStorageProvider {
98
Contract.Ensures(Contract.Result<
CngProvider
>() != null);
108
public static
CngProvider
MicrosoftSoftwareKeyStorageProvider {
110
Contract.Ensures(Contract.Result<
CngProvider
>() != null);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (1)
393
CngProvider
cngProvider = new CngProvider(cngProviderName);