C# Class System.Web.Util.MachineKeySectionUtils

Mostra file Open project: runefs/Marvin

Public Methods

Method Description
GetDecryptionAlgorithm ( string name ) : SymmetricAlgorithm
GetHexString ( byte bytes ) : string
GetValidationAlgorithm ( MachineKeySection section ) : KeyedHashAlgorithm

Private Methods

Method Description
GetBytes ( string key, int len ) : byte[]
GetValidationAlgorithm ( section section ) : System.ComponentModel
ToHexValue ( char c, bool high ) : byte

Method Details

GetDecryptionAlgorithm() public static method

public static GetDecryptionAlgorithm ( string name ) : SymmetricAlgorithm
name string
return System.Security.Cryptography.SymmetricAlgorithm

GetHexString() static public method

static public GetHexString ( byte bytes ) : string
bytes byte
return string

GetValidationAlgorithm() public static method

public static GetValidationAlgorithm ( MachineKeySection section ) : KeyedHashAlgorithm
section System.Web.Configuration.MachineKeySection
return System.Security.Cryptography.KeyedHashAlgorithm