14 references to PbeParameters
aspire (2)
Certificates\CertificateGeneration\CertificateManager.cs (2)
687
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new
PbeParameters
(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
696
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new
PbeParameters
(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Aspire.Hosting (1)
DeveloperCertificateService.cs (1)
352
new
PbeParameters
(
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 (3)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (1)
21
new
PbeParameters
(
System\Security\Cryptography\Helpers.cs (2)
21
new
PbeParameters
(PbeEncryptionAlgorithm.TripleDes3KeyPkcs12, HashAlgorithmName.SHA1, 2000);
24
new
PbeParameters
(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 2000);