6 references to OaepSHA256
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (4)
CertificateManagerTests.cs (4)
189
Assert.Equal("plaintext", Encoding.ASCII.GetString(exportedCertificate.GetRSAPrivateKey().Decrypt(exportedCertificate.GetRSAPrivateKey().Encrypt(Encoding.ASCII.GetBytes(message), RSAEncryptionPadding.
OaepSHA256
), RSAEncryptionPadding.
OaepSHA256
)));
351
Assert.Equal("plaintext", Encoding.ASCII.GetString(exportedCertificate.GetRSAPrivateKey().Decrypt(exportedCertificate.GetRSAPrivateKey().Encrypt(Encoding.ASCII.GetBytes(message), RSAEncryptionPadding.
OaepSHA256
), RSAEncryptionPadding.
OaepSHA256
)));
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
152
else if (padding == RSAEncryptionPadding.
OaepSHA256
)
Internal\Cryptography\PkcsHelpers.cs (1)
387
rsaEncryptionPadding = RSAEncryptionPadding.
OaepSHA256
;