7 overrides of ExportEncryptedPkcs8PrivateKey
System.Security.Cryptography (7)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (1)
87
public override byte[]
ExportEncryptedPkcs8PrivateKey
(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (1)
140
public override byte[]
ExportEncryptedPkcs8PrivateKey
(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (1)
177
public override byte[]
ExportEncryptedPkcs8PrivateKey
(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.ImportExport.cs (1)
105
public override byte[]
ExportEncryptedPkcs8PrivateKey
(
System\Security\Cryptography\DSAWrapper.cs (1)
144
public override byte[]
ExportEncryptedPkcs8PrivateKey
(
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
143
public override byte[]
ExportEncryptedPkcs8PrivateKey
(
System\Security\Cryptography\ECDsaWrapper.cs (1)
108
public override byte[]
ExportEncryptedPkcs8PrivateKey
(
19 references to ExportEncryptedPkcs8PrivateKey
aspire (2)
Certificates\CertificateGeneration\CertificateManager.cs (2)
685
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
694
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Aspire.Hosting (1)
Dcp\DcpExecutor.cs (1)
2875
var keyBytes = privateKey.
ExportEncryptedPkcs8PrivateKey
(
dotnet-dev-certs (2)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
688
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
697
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
688
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
697
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
688
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
697
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
RepoTasks (2)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
688
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
697
keyBytes = key.
ExportEncryptedPkcs8PrivateKey
(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
System.Security.Cryptography (7)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (1)
49
return key.
ExportEncryptedPkcs8PrivateKey
(ReadOnlySpan<char>.Empty, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
175
byte[] encryptedPkcs8 = key.
ExportEncryptedPkcs8PrivateKey
(password, pbeParameters);
System\Security\Cryptography\AsymmetricAlgorithm.cs (2)
424
/// An implementation for <see cref="
ExportEncryptedPkcs8PrivateKey
(ReadOnlySpan{char}, PbeParameters)" /> or
449
byte[] exported =
ExportEncryptedPkcs8PrivateKey
(password, pbeParameters);
System\Security\Cryptography\DSAWrapper.cs (1)
147
_wrapped.
ExportEncryptedPkcs8PrivateKey
(password, pbeParameters);
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
146
_wrapped.
ExportEncryptedPkcs8PrivateKey
(password, pbeParameters);
System\Security\Cryptography\ECDsaWrapper.cs (1)
111
_wrapped.
ExportEncryptedPkcs8PrivateKey
(password, pbeParameters);
System.Security.Cryptography.Pkcs (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
175
byte[] encryptedPkcs8 = key.
ExportEncryptedPkcs8PrivateKey
(password, pbeParameters);