18 references to CapiHelper
System.Security.Cryptography (18)
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (1)
306bw.Write((int)CapiHelper.CALG_DSS_SIGN); // BLOBHEADER.aiKeyAlg
System\Security\Cryptography\CapiHelper.Shared.cs (1)
112bw.Write((uint)CapiHelper.CALG_RSA_KEYX); // BLOBHEADER.aiKeyAlg
System\Security\Cryptography\CspParameters.cs (1)
52public 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)
306if (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)
126RSAParameters 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); 263HashAlgorithmName algName = CapiHelper.NameOrOidToHashAlgorithmName(str); 270_impl.VerifyData(buffer, signature, CapiHelper.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1); 329CapiHelper.NameOrOidToHashAlgorithmName(str), RSASignaturePadding.Pkcs1); 352if (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));