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