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