64 references to CngPkcs8
System.Security.Cryptography (64)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (7)
81
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
98
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
103
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
122
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
143
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
152
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
313
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(Key);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (13)
80
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportPkcs8PrivateKey(source, out int localRead);
92
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportEncryptedPkcs8PrivateKey(
107
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportEncryptedPkcs8PrivateKey(
116
private void ProcessPkcs8Response(
CngPkcs8
.Pkcs8Response response)
134
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
151
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
156
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
175
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
196
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
205
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (13)
111
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportPkcs8PrivateKey(source, out int localRead);
124
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportEncryptedPkcs8PrivateKey(
140
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportEncryptedPkcs8PrivateKey(
149
private void ProcessPkcs8Response(
CngPkcs8
.Pkcs8Response response)
171
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
188
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
193
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
212
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
233
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
242
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (3)
119
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(_key);
165
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(_key);
226
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(_key);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.Windows.cs (3)
144
if (
CngPkcs8
.AllowsOnlyEncryptedExport(_key))
160
if (
CngPkcs8
.AllowsOnlyEncryptedExport(_key))
184
if (
CngPkcs8
.AllowsOnlyEncryptedExport(_key))
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.ImportExport.cs (14)
43
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportPkcs8PrivateKey(source, out int localRead);
56
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportEncryptedPkcs8PrivateKey(
72
CngPkcs8
.Pkcs8Response response =
CngPkcs8
.ImportEncryptedPkcs8PrivateKey(
81
private void ProcessPkcs8Response(
CngPkcs8
.Pkcs8Response response)
99
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
116
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
121
return
CngPkcs8
.ExportEncryptedPkcs8PrivateKey(
140
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
161
if (
CngPkcs8
.IsPlatformScheme(pbeParameters))
170
return
CngPkcs8
.TryExportEncryptedPkcs8PrivateKey(
183
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(Key);
System\Security\Cryptography\DSACng.ImportExport.cs (2)
38
private void AcceptImport(
CngPkcs8
.Pkcs8Response response)
53
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(Key);
System\Security\Cryptography\ECCng.ImportExport.cs (2)
117
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(key);
141
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(key);
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
194
private void AcceptImport(
CngPkcs8
.Pkcs8Response response)
209
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(Key);
System\Security\Cryptography\ECDsaCng.cs (2)
139
private void AcceptImport(
CngPkcs8
.Pkcs8Response response)
154
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(Key);
System\Security\Cryptography\RSACng.ImportExport.cs (2)
35
private void AcceptImport(
CngPkcs8
.Pkcs8Response response)
55
bool encryptedOnlyExport =
CngPkcs8
.AllowsOnlyEncryptedExport(Key);
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (1)
129
if (
CngPkcs8
.AllowsOnlyEncryptedExport(_key))