42 references to PbeEncryptionAlgorithm
aspire (2)
Certificates\CertificateGeneration\CertificateManager.cs (2)
683keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 692keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Aspire.Hosting (1)
DeveloperCertificateService.cs (1)
353PbeEncryptionAlgorithm.Aes256Cbc,
dotnet-dev-certs (2)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
688keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 697keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
688keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 697keyBytes = 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)
688keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 697keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.Bcl.Cryptography (1)
Microsoft.Bcl.Cryptography.Forwards.cs (1)
39[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.PbeEncryptionAlgorithm))]
netstandard (1)
netstandard.cs (1)
1902[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.PbeEncryptionAlgorithm))]
RepoTasks (2)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
688keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100000)); 697keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 1));
System.Security.Cryptography (19)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (1)
22PbeEncryptionAlgorithm.TripleDes3KeyPkcs12,
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (9)
47PbeEncryptionAlgorithm encryptionAlgorithm = pbeParameters.EncryptionAlgorithm; 51case PbeEncryptionAlgorithm.Aes128Cbc: 52case PbeEncryptionAlgorithm.Aes192Cbc: 53case PbeEncryptionAlgorithm.Aes256Cbc: 55case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12: 280case PbeEncryptionAlgorithm.Aes128Cbc: 285case PbeEncryptionAlgorithm.Aes192Cbc: 290case PbeEncryptionAlgorithm.Aes256Cbc: 295case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12:
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PbeParameters.cs (2)
17public PbeEncryptionAlgorithm EncryptionAlgorithm { get; } 55PbeEncryptionAlgorithm encryptionAlgorithm,
System\Security\Cryptography\ECAlgorithm.cs (1)
118/// <paramref name="pbeParameters" /> indicates that <see cref="PbeEncryptionAlgorithm.TripleDes3KeyPkcs12" />
System\Security\Cryptography\Helpers.cs (6)
21new PbeParameters(PbeEncryptionAlgorithm.TripleDes3KeyPkcs12, HashAlgorithmName.SHA1, 2000); 24new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 2000); 450PbeEncryptionAlgorithm.Aes128Cbc or PbeEncryptionAlgorithm.Aes192Cbc or PbeEncryptionAlgorithm.Aes256Cbc) 466else if (exportParameters.EncryptionAlgorithm is PbeEncryptionAlgorithm.TripleDes3KeyPkcs12)
System.Security.Cryptography.Pkcs (9)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (9)
47PbeEncryptionAlgorithm encryptionAlgorithm = pbeParameters.EncryptionAlgorithm; 51case PbeEncryptionAlgorithm.Aes128Cbc: 52case PbeEncryptionAlgorithm.Aes192Cbc: 53case PbeEncryptionAlgorithm.Aes256Cbc: 55case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12: 280case PbeEncryptionAlgorithm.Aes128Cbc: 285case PbeEncryptionAlgorithm.Aes192Cbc: 290case PbeEncryptionAlgorithm.Aes256Cbc: 295case PbeEncryptionAlgorithm.TripleDes3KeyPkcs12:
System.Security.Cryptography.Primitives (1)
System.Security.Cryptography.Primitives.cs (1)
21[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.PbeEncryptionAlgorithm))]