40 references to PbeEncryptionAlgorithm
dotnet-dev-certs (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
netstandard (1)
netstandard.cs (1)
1902[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.PbeEncryptionAlgorithm))]
System.Security.Cryptography (13)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (9)
34PbeEncryptionAlgorithm encryptionAlgorithm = pbeParameters.EncryptionAlgorithm; 38case PbeEncryptionAlgorithm.Aes128Cbc: 39case PbeEncryptionAlgorithm.Aes192Cbc: 40case PbeEncryptionAlgorithm.Aes256Cbc: 42case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12: 252case PbeEncryptionAlgorithm.Aes128Cbc: 257case PbeEncryptionAlgorithm.Aes192Cbc: 262case PbeEncryptionAlgorithm.Aes256Cbc: 267case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12:
System\Security\Cryptography\ECAlgorithm.cs (1)
118/// <paramref name="pbeParameters" /> indicates that <see cref="PbeEncryptionAlgorithm.TripleDes3KeyPkcs12" />
System\Security\Cryptography\PbeParameters.cs (2)
8public PbeEncryptionAlgorithm EncryptionAlgorithm { get; } 13PbeEncryptionAlgorithm encryptionAlgorithm,
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (1)
17new PbeParameters(PbeEncryptionAlgorithm.TripleDes3KeyPkcs12, HashAlgorithmName.SHA1, 2000);
System.Security.Cryptography.Pkcs (9)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (9)
34PbeEncryptionAlgorithm encryptionAlgorithm = pbeParameters.EncryptionAlgorithm; 38case PbeEncryptionAlgorithm.Aes128Cbc: 39case PbeEncryptionAlgorithm.Aes192Cbc: 40case PbeEncryptionAlgorithm.Aes256Cbc: 42case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12: 252case PbeEncryptionAlgorithm.Aes128Cbc: 257case PbeEncryptionAlgorithm.Aes192Cbc: 262case PbeEncryptionAlgorithm.Aes256Cbc: 267case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12:
System.Security.Cryptography.Primitives (1)
System.Security.Cryptography.Primitives.cs (1)
21[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.PbeEncryptionAlgorithm))]
Templates.Blazor.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Mvc.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 550keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));