46 references to PbeEncryptionAlgorithm
dotnet-dev-certs (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = 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 (19)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (9)
34
PbeEncryptionAlgorithm
encryptionAlgorithm = pbeParameters.EncryptionAlgorithm;
38
case
PbeEncryptionAlgorithm
.Aes128Cbc:
39
case
PbeEncryptionAlgorithm
.Aes192Cbc:
40
case
PbeEncryptionAlgorithm
.Aes256Cbc:
42
case
PbeEncryptionAlgorithm
.TripleDes3KeyPkcs12:
252
case
PbeEncryptionAlgorithm
.Aes128Cbc:
257
case
PbeEncryptionAlgorithm
.Aes192Cbc:
262
case
PbeEncryptionAlgorithm
.Aes256Cbc:
267
case
PbeEncryptionAlgorithm
.TripleDes3KeyPkcs12:
System\Security\Cryptography\ECAlgorithm.cs (1)
118
/// <paramref name="pbeParameters" /> indicates that <see cref="
PbeEncryptionAlgorithm
.TripleDes3KeyPkcs12" />
System\Security\Cryptography\Helpers.cs (6)
20
new PbeParameters(
PbeEncryptionAlgorithm
.TripleDes3KeyPkcs12, HashAlgorithmName.SHA1, 2000);
23
new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 2000);
419
PbeEncryptionAlgorithm
.Aes128Cbc or
PbeEncryptionAlgorithm
.Aes192Cbc or
PbeEncryptionAlgorithm
.Aes256Cbc)
435
else if (exportParameters.EncryptionAlgorithm is
PbeEncryptionAlgorithm
.TripleDes3KeyPkcs12)
System\Security\Cryptography\PbeParameters.cs (2)
8
public
PbeEncryptionAlgorithm
EncryptionAlgorithm { get; }
13
PbeEncryptionAlgorithm
encryptionAlgorithm,
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (1)
27
PbeEncryptionAlgorithm
.Aes256Cbc,
System.Security.Cryptography.Pkcs (9)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (9)
34
PbeEncryptionAlgorithm
encryptionAlgorithm = pbeParameters.EncryptionAlgorithm;
38
case
PbeEncryptionAlgorithm
.Aes128Cbc:
39
case
PbeEncryptionAlgorithm
.Aes192Cbc:
40
case
PbeEncryptionAlgorithm
.Aes256Cbc:
42
case
PbeEncryptionAlgorithm
.TripleDes3KeyPkcs12:
252
case
PbeEncryptionAlgorithm
.Aes128Cbc:
257
case
PbeEncryptionAlgorithm
.Aes192Cbc:
262
case
PbeEncryptionAlgorithm
.Aes256Cbc:
267
case
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)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Mvc.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 1));
Templates.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
541
keyBytes = key.ExportEncryptedPkcs8PrivateKey(password, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 100000));
550
keyBytes = key.ExportEncryptedPkcs8PrivateKey(string.Empty, new PbeParameters(
PbeEncryptionAlgorithm
.Aes256Cbc, HashAlgorithmName.SHA256, 1));