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