18 references to CapiHelper
System.Security.Cryptography (18)
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (1)
306
bw.Write((int)
CapiHelper
.CALG_DSS_SIGN); // BLOBHEADER.aiKeyAlg
System\Security\Cryptography\CapiHelper.Shared.cs (1)
112
bw.Write((uint)
CapiHelper
.CALG_RSA_KEYX); // BLOBHEADER.aiKeyAlg
System\Security\Cryptography\CspParameters.cs (1)
52
public CspParameters() : this(
CapiHelper
.DefaultRsaProviderType, null, null) { }
System\Security\Cryptography\DESCryptoServiceProvider.Unix.cs (2)
32
_impl.CreateEncryptor(rgbKey,
CapiHelper
.TrimLargeIV(rgbIV, BlockSize));
35
_impl.CreateDecryptor(rgbKey,
CapiHelper
.TrimLargeIV(rgbIV, BlockSize));
System\Security\Cryptography\DSACryptoServiceProvider.Unix.cs (1)
306
if (keyBlob[0] !=
CapiHelper
.PUBLICKEYBLOB)
System\Security\Cryptography\RC2CryptoServiceProvider.Unix.cs (2)
39
_impl.CreateEncryptor(rgbKey,
CapiHelper
.TrimLargeIV(rgbIV, BlockSize));
42
_impl.CreateDecryptor(rgbKey,
CapiHelper
.TrimLargeIV(rgbIV, BlockSize));
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (8)
126
RSAParameters parameters =
CapiHelper
.ToRSAParameters(keyBlob, !IsPublic(keyBlob));
220
_impl.SignData(buffer, offset, count,
CapiHelper
.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1);
223
_impl.SignData(buffer,
CapiHelper
.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1);
226
_impl.SignData(inputStream,
CapiHelper
.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1);
263
HashAlgorithmName algName =
CapiHelper
.NameOrOidToHashAlgorithmName(str);
270
_impl.VerifyData(buffer, signature,
CapiHelper
.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1);
329
CapiHelper
.NameOrOidToHashAlgorithmName(str), RSASignaturePadding.Pkcs1);
352
if (keyBlob[0] !=
CapiHelper
.PUBLICKEYBLOB)
System\Security\Cryptography\TripleDESCryptoServiceProvider.Wrap.cs (2)
70
_impl.CreateEncryptor(rgbKey,
CapiHelper
.TrimLargeIV(rgbIV, BlockSize));
73
_impl.CreateDecryptor(rgbKey,
CapiHelper
.TrimLargeIV(rgbIV, BlockSize));