27 references to RSAEncryptionPaddingMode
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
911
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
RSAEncryptionPaddingMode
))]
netstandard (1)
netstandard.cs (1)
1915
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
RSAEncryptionPaddingMode
))]
System.Security.Cryptography (24)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.Rsa.cs (4)
54
RSAEncryptionPaddingMode
paddingMode,
62
RSAEncryptionPaddingMode
paddingMode,
91
RSAEncryptionPaddingMode
paddingMode,
99
RSAEncryptionPaddingMode
paddingMode,
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (4)
191
if (padding.Mode ==
RSAEncryptionPaddingMode
.Oaep)
258
if (padding.Mode ==
RSAEncryptionPaddingMode
.Oaep)
833
if (padding.Mode !=
RSAEncryptionPaddingMode
.Oaep &&
844
if (padding.Mode ==
RSAEncryptionPaddingMode
.Oaep &&
System\Security\Cryptography\RSAEncryptionPadding.cs (16)
14
/// <see cref="
RSAEncryptionPaddingMode
.Pkcs1"/> mode.
16
public static RSAEncryptionPadding Pkcs1 { get; } = new RSAEncryptionPadding(
RSAEncryptionPaddingMode
.Pkcs1, default);
19
/// <see cref="
RSAEncryptionPaddingMode
.Oaep"/> mode with SHA1 hash algorithm.
24
/// <see cref="
RSAEncryptionPaddingMode
.Oaep"/> mode with SHA256 hash algorithm.
29
/// <see cref="
RSAEncryptionPaddingMode
.Oaep"/> mode with SHA384 hash algorithm.
34
/// <see cref="
RSAEncryptionPaddingMode
.Oaep"/> mode with SHA512 hash algorithm.
39
/// <see cref="
RSAEncryptionPaddingMode
.Oaep"/> mode with SHA3-256 hash algorithm.
44
/// <see cref="
RSAEncryptionPaddingMode
.Oaep"/> mode with SHA3-384 hash algorithm.
49
/// <see cref="
RSAEncryptionPaddingMode
.Oaep"/> mode with SHA3-512 hash algorithm.
53
private readonly
RSAEncryptionPaddingMode
_mode;
56
private RSAEncryptionPadding(
RSAEncryptionPaddingMode
mode, HashAlgorithmName oaepHashAlgorithm)
63
/// Creates a new instance representing <see cref="
RSAEncryptionPaddingMode
.Oaep"/>
70
return new RSAEncryptionPadding(
RSAEncryptionPaddingMode
.Oaep, hashAlgorithm);
76
public
RSAEncryptionPaddingMode
Mode
82
/// Gets the padding mode to use in conjunction with <see cref="
RSAEncryptionPaddingMode
.Oaep"/>.
85
/// If <see cref="Mode"/> is not <see cref="
RSAEncryptionPaddingMode
.Oaep"/>, then <see cref="HashAlgorithmName.Name" /> will be null.
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
40
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
RSAEncryptionPaddingMode
))]