80 references to PaddingMode
mscorlib (37)
system\security\cryptography\cryptoapitransform.cs (4)
34
private
PaddingMode
PaddingValue;
46
Object[] rgArgValues, byte[] rgbKey,
PaddingMode
padding,
214
if (PaddingValue ==
PaddingMode
.Zeros || PaddingValue ==
PaddingMode
.None) {
system\security\cryptography\mactripledes.cs (5)
46
des.Padding =
PaddingMode
.Zeros;
74
des.Padding =
PaddingMode
.Zeros;
84
public
PaddingMode
Padding {
87
if ((value <
PaddingMode
.None) || (
PaddingMode
.ISO10126 < value))
system\security\cryptography\rijndaelmanagedtransform.cs (21)
25
private
PaddingMode
m_paddingValue;
53
PaddingMode
PaddingValue,
262
if (m_paddingValue ==
PaddingMode
.Zeros || m_paddingValue ==
PaddingMode
.None) {
390
PaddingMode
paddingMode,
404
case
PaddingMode
.None:
408
case
PaddingMode
.Zeros:
412
case
PaddingMode
.PKCS7:
418
case
PaddingMode
.ANSIX923:
421
case
PaddingMode
.ISO10126:
431
case
PaddingMode
.None:
433
case
PaddingMode
.Zeros:
436
case
PaddingMode
.PKCS7:
443
case
PaddingMode
.ANSIX923:
447
case
PaddingMode
.ISO10126:
591
PaddingMode
paddingMode,
707
case
PaddingMode
.None:
709
case
PaddingMode
.Zeros:
711
case
PaddingMode
.PKCS7:
725
case
PaddingMode
.ANSIX923:
738
case
PaddingMode
.ISO10126:
system\security\cryptography\symmetricalgorithm.cs (5)
25
protected
PaddingMode
PaddingValue;
35
PaddingValue =
PaddingMode
.PKCS7;
179
public virtual
PaddingMode
Padding {
182
if ((value <
PaddingMode
.None) || (
PaddingMode
.ISO10126 < value))
system\security\cryptography\utils.cs (2)
1171
internal static extern int _DecryptData(SafeKeyHandle hKey, byte[] data, int ib, int cb, ref byte[] outputBuffer, int outputOffset,
PaddingMode
PaddingMode, bool fDone);
1175
internal static extern int _EncryptData(SafeKeyHandle hKey, byte[] data, int ib, int cb, ref byte[] outputBuffer, int outputOffset,
PaddingMode
PaddingMode, bool fDone);
System.Core (17)
System\Security\Cryptography\AesManaged.cs (1)
80
public override
PaddingMode
Padding {
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (16)
36
private
PaddingMode
m_paddingMode;
48
PaddingMode
paddingMode,
113
Contract.Requires(m_depadBuffer == null || (m_paddingMode !=
PaddingMode
.None && m_paddingMode !=
PaddingMode
.Zeros));
128
if (m_paddingMode !=
PaddingMode
.None && m_paddingMode !=
PaddingMode
.Zeros) {
176
case
PaddingMode
.ANSIX923:
193
case
PaddingMode
.ISO10126:
204
case
PaddingMode
.PKCS7:
223
case
PaddingMode
.Zeros:
224
case
PaddingMode
.None:
292
case
PaddingMode
.ANSIX923:
302
case
PaddingMode
.ISO10126:
311
case
PaddingMode
.None:
324
case
PaddingMode
.PKCS7:
337
case
PaddingMode
.Zeros:
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Algorithm.cs (2)
59
private const
PaddingMode
_paddingMode =
PaddingMode
.PKCS7;
System.IdentityModel (13)
System\IdentityModel\CryptoHelper.cs (2)
369
tmp.Padding =
PaddingMode
.ISO10126;
383
tmp.Padding =
PaddingMode
.ISO10126;
System\IdentityModel\EncryptedDataElement.cs (2)
82
algorithm.Padding =
PaddingMode
.ISO10126;
110
algorithm.Padding =
PaddingMode
.PKCS7;
System\IdentityModel\RijndaelCryptoServiceProvider.cs (9)
59
PaddingMode
paddingMode;
64
public unsafe RijndaelCryptoTransform(byte[] rgbKey, byte[] rgbIV,
PaddingMode
paddingMode, int blockSizeBits, bool encrypt)
70
if (paddingMode !=
PaddingMode
.PKCS7 && paddingMode !=
PaddingMode
.ISO10126)
189
if (this.paddingMode ==
PaddingMode
.PKCS7)
233
if (this.paddingMode ==
PaddingMode
.ISO10126)
242
if (this.paddingMode ==
PaddingMode
.PKCS7)
275
bool doPadding = final && (this.paddingMode ==
PaddingMode
.ISO10126);
310
bool bFinal = final && (this.paddingMode ==
PaddingMode
.PKCS7);
System.Security (9)
system\security\cryptography\xml\encryptedxml.cs (5)
101
private
PaddingMode
m_padding;
120
m_padding =
PaddingMode
.ISO10126;
171
public
PaddingMode
Padding {
658
PaddingMode
origPadding = symmetricAlgorithm.Padding;
708
PaddingMode
origPadding = symmetricAlgorithm.Padding;
system\security\cryptography\xml\symmetrickeywrap.cs (4)
49
tripleDES.Padding =
PaddingMode
.None;
74
tripleDES.Padding =
PaddingMode
.None;
109
aes.Padding =
PaddingMode
.None;
160
aes.Padding =
PaddingMode
.None;
System.ServiceModel (2)
System\ServiceModel\Security\CryptoHelper.cs (2)
153
algorithm.Padding =
PaddingMode
.ISO10126;
245
algorithm.Padding =
PaddingMode
.PKCS7;