3 types derived from KeyedHashAlgorithm
mscorlib (2)
system\security\cryptography\hmac.cs (1)
21public abstract class HMAC : KeyedHashAlgorithm {
system\security\cryptography\mactripledes.cs (1)
20public class MACTripleDES : KeyedHashAlgorithm
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (1)
33internal class InfoCardKeyedHashAlgorithm : KeyedHashAlgorithm
53 references to KeyedHashAlgorithm
mscorlib (4)
system\security\cryptography\keyedhashalgorithm.cs (3)
48new static public KeyedHashAlgorithm Create() { 52new static public KeyedHashAlgorithm Create(String algName) { 53return (KeyedHashAlgorithm) CryptoConfig.CreateFromName(algName);
system\security\cryptography\x509certificates\x509certificate.cs (1)
336if (hash == null || hash is KeyedHashAlgorithm) {
System.IdentityModel (23)
System\IdentityModel\CryptoHelper.cs (13)
108using ( KeyedHashAlgorithm kha = CryptoHelper.NewHmacSha1KeyedHashAlgorithm() ) 421internal static KeyedHashAlgorithm NewHmacSha1KeyedHashAlgorithm() 423KeyedHashAlgorithm algorithm = GetAlgorithmFromConfig( SecurityAlgorithms.HmacSha1Signature ) as KeyedHashAlgorithm; 431internal static KeyedHashAlgorithm NewHmacSha1KeyedHashAlgorithm(byte[] key) 436internal static KeyedHashAlgorithm NewHmacSha256KeyedHashAlgorithm(byte[] key) 542internal static KeyedHashAlgorithm CreateKeyedHashAlgorithm(byte[] key, string algorithm) 548KeyedHashAlgorithm keyedHashAlgorithm = algorithmObject as KeyedHashAlgorithm; 910KeyedHashAlgorithm keyedHashAlgorithm = algorithmObject as KeyedHashAlgorithm; 961KeyedHashAlgorithm keyedHashAlgorithm = algorithmObject as KeyedHashAlgorithm;
System\IdentityModel\Diagnostics\DigestTraceRecordHelper.cs (3)
87if (_hash is KeyedHashAlgorithm) 89KeyedHashAlgorithm keyedHash = _hash as KeyedHashAlgorithm;
System\IdentityModel\Psha1DerivedKeyGenerator.cs (1)
47KeyedHashAlgorithm hmac;
System\IdentityModel\SignedXml.cs (4)
97void ComputeSignature(KeyedHashAlgorithm hash) 111using (KeyedHashAlgorithm algorithm = symmetricKey.GetKeyedHashAlgorithm(signatureMethod)) 178void VerifySignature(KeyedHashAlgorithm hash) 217using (KeyedHashAlgorithm hash = symmetricKey.GetKeyedHashAlgorithm(signatureMethod))
System\IdentityModel\Tokens\SymmetricKey.cs (1)
79public override KeyedHashAlgorithm GetKeyedHashAlgorithm(string algorithm)
System\IdentityModel\Tokens\SymmetricSecurityKey.cs (1)
15public abstract KeyedHashAlgorithm GetKeyedHashAlgorithm(string algorithm);
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (1)
238public override KeyedHashAlgorithm GetKeyedHashAlgorithm(string algorithmUri)
System.Security (5)
system\security\cryptography\xml\signedxml.cs (3)
292public bool CheckSignature(KeyedHashAlgorithm macAlg) { 391public void ComputeSignature(KeyedHashAlgorithm macAlg) { 995private bool CheckSignedInfo (KeyedHashAlgorithm macAlg) {
system\security\cryptography\xml\SignedXmlDebugLog.cs (2)
621internal static void LogSigning(SignedXml signedXml, KeyedHashAlgorithm key) { 847KeyedHashAlgorithm mac,
System.ServiceModel (5)
System\ServiceModel\Security\CryptoHelper.cs (4)
189KeyedHashAlgorithm keyedHashAlgorithm = algorithmObject as KeyedHashAlgorithm; 292KeyedHashAlgorithm keyedHashAlgorithm = algorithmObject as KeyedHashAlgorithm;
System\ServiceModel\Security\SecurityUtils.cs (1)
612internal static KeyedHashAlgorithm GetKeyedHashAlgorithm(string algorithm, SecurityToken token)
System.Web (15)
Configuration\MachineKeySection.cs (5)
860return HashDataUsingKeyedAlgorithm(KeyedHashAlgorithm.Create(_CustomValidationName), 1117_CustomValidationTypeIsKeyed = (alg is KeyedHashAlgorithm); 1127_AutoGenValidationKeySize = ((KeyedHashAlgorithm) alg).Key.Length; 1146_AutoGenValidationKeySize = ((KeyedHashAlgorithm) alg).Key.Length; 1234private static byte[] HashDataUsingKeyedAlgorithm(KeyedHashAlgorithm hashAlgo, byte[] buf, byte[] modifier,
Security\Cryptography\ICryptoAlgorithmFactory.cs (1)
19KeyedHashAlgorithm GetValidationAlgorithm();
Security\Cryptography\MachineKeyCryptoAlgorithmFactory.cs (4)
18private Func<KeyedHashAlgorithm> _validationAlgorithmFactory; 59public KeyedHashAlgorithm GetValidationAlgorithm() { 66private Func<KeyedHashAlgorithm> GetValidationAlgorithmFactory() { 67return GetGenericAlgorithmFactory<KeyedHashAlgorithm>(
Security\Cryptography\NetFXCryptoService.cs (2)
85using (KeyedHashAlgorithm signingAlgorithm = _cryptoAlgorithmFactory.GetValidationAlgorithm()) { 129using (KeyedHashAlgorithm validationAlgorithm = _cryptoAlgorithmFactory.GetValidationAlgorithm()) {
Security\SQLMembershipProvider.cs (3)
1912if (hm is KeyedHashAlgorithm) { 1913KeyedHashAlgorithm kha = (KeyedHashAlgorithm) hm;