Show / Hide Table of Contents

Class MD5PasswordHashingAlgorithm

Inheritance
System.Object
DisposableObject
ApplicationComponent
Service
Service<IPasswordManagerImplementation>
ServiceWithInstrumentationBase<IPasswordManagerImplementation>
PasswordHashingAlgorithm
PasswordHashingAlgorithm<MD5PasswordHashingOptions>
MD5PasswordHashingAlgorithm
Implements
IApplicationComponent
System.IDisposable
IService
IConfigurable
ILocalizedTimeProvider
IInstrumentable
IExternallyParameterized
INamed
Inherited Members
PasswordHashingAlgorithm<MD5PasswordHashingOptions>.ComputeHash(PasswordFamily, SecureBuffer, MD5PasswordHashingOptions)
PasswordHashingAlgorithm<MD5PasswordHashingOptions>.ExtractPasswordHashingOptions(HashedPassword, Boolean)
PasswordHashingAlgorithm<MD5PasswordHashingOptions>.DoComputeHash(PasswordFamily, SecureBuffer)
PasswordHashingAlgorithm<MD5PasswordHashingOptions>.DoVerify(SecureBuffer, HashedPassword, Boolean)
PasswordHashingAlgorithm.InstrumentationEnabled
PasswordHashingAlgorithm.IsDefault
PasswordHashingAlgorithm.StrengthLevel
PasswordHashingAlgorithm.Match(PasswordFamily)
PasswordHashingAlgorithm.ComputeHash(PasswordFamily, SecureBuffer)
PasswordHashingAlgorithm.Verify(SecureBuffer, HashedPassword, Boolean)
PasswordHashingAlgorithm.AreEquivalent(HashedPassword, HashedPassword)
ServiceWithInstrumentationBase<IPasswordManagerImplementation>.ExternalParameters
ServiceWithInstrumentationBase<IPasswordManagerImplementation>.ExternalParametersForGroups(String[])
ServiceWithInstrumentationBase<IPasswordManagerImplementation>.ExternalGetParameter(String, Object, String[])
ServiceWithInstrumentationBase<IPasswordManagerImplementation>.ExternalSetParameter(String, Object, String[])
Service<IPasswordManagerImplementation>.ComponentDirector
Service.CONFIG_NAME_ATTR
Service.Destructor()
Service.ApplicationDontAutoStartService
Service.Status
Service.Running
Service.Name
Service.TimeLocation
Service.LocalizedTime
Service.Configure(IConfigSectionNode)
Service.Start()
Service.SignalStop()
Service.CheckForCompleteStop()
Service.WaitForCompleteStop()
Service.AcceptManagerVisit(Object, DateTime)
Service.UniversalTimeToLocalizedTime(DateTime)
Service.LocalizedTimeToUniversalTime(DateTime)
Service.AbortStart()
Service.DoStart()
Service.DoSignalStop()
Service.DoCheckForCompleteStop()
Service.DoWaitForCompleteStop()
Service.DoConfigure(IConfigSectionNode)
Service.CheckServiceInactive()
Service.CheckServiceActive()
Service.CheckServiceActiveOrStarting()
Service.DoAcceptManagerVisit(Object, DateTime)
Service.____ObtainPrivateServiceStatusLockObject()
ApplicationComponent.AllComponents
ApplicationComponent.GetAppComponentBySID(UInt64)
ApplicationComponent.GetAppComponentByCommonName(String)
ApplicationComponent.ComponentSID
ApplicationComponent.ComponentStartTime
ApplicationComponent.ComponentCommonName
DisposableObject.DisposeAndNull<T>(T)
DisposableObject.DisposeStarted
DisposableObject.Disposed
DisposableObject.EnsureObjectNotDisposed()
DisposableObject.Dispose()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Security
Assembly: NFX.dll
Syntax
public class MD5PasswordHashingAlgorithm : PasswordHashingAlgorithm<MD5PasswordHashingOptions>, IApplicationComponent, IDisposable, IService, IConfigurable, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, INamed

Constructors

MD5PasswordHashingAlgorithm(IPasswordManagerImplementation, String)

Declaration
public MD5PasswordHashingAlgorithm(IPasswordManagerImplementation director, string name)
Parameters
Type Name Description
IPasswordManagerImplementation director
System.String name

Fields

DEFAULT_SALT_MAX_LENGTH

Declaration
public const int DEFAULT_SALT_MAX_LENGTH = 32
Field Value
Type Description
System.Int32

Properties

DefaultPasswordHashingOptions

Declaration
protected override MD5PasswordHashingOptions DefaultPasswordHashingOptions { get; }
Property Value
Type Description
MD5PasswordHashingOptions
Overrides
NFX.Security.PasswordHashingAlgorithm<NFX.Security.MD5PasswordHashingOptions>.DefaultPasswordHashingOptions

SaltMaxLenght

Declaration
[Config(Default = 32)]
public int SaltMaxLenght { get; set; }
Property Value
Type Description
System.Int32

SaltMinLenght

Declaration
[Config(Default = 16)]
public int SaltMinLenght { get; set; }
Property Value
Type Description
System.Int32

Methods

DoAreEquivalent(HashedPassword, HashedPassword)

Declaration
protected override bool DoAreEquivalent(HashedPassword hash, HashedPassword rehash)
Parameters
Type Name Description
HashedPassword hash
HashedPassword rehash
Returns
Type Description
System.Boolean
Overrides
PasswordHashingAlgorithm.DoAreEquivalent(HashedPassword, HashedPassword)

DoComputeHash(PasswordFamily, SecureBuffer, MD5PasswordHashingOptions)

Declaration
protected override HashedPassword DoComputeHash(PasswordFamily family, SecureBuffer password, MD5PasswordHashingOptions options)
Parameters
Type Name Description
PasswordFamily family
SecureBuffer password
MD5PasswordHashingOptions options
Returns
Type Description
HashedPassword
Overrides
NFX.Security.PasswordHashingAlgorithm<NFX.Security.MD5PasswordHashingOptions>.DoComputeHash(NFX.Security.PasswordFamily, NFX.Security.SecureBuffer, NFX.Security.MD5PasswordHashingOptions)

DoExtractPasswordHashingOptions(HashedPassword, out Boolean)

Declaration
protected override MD5PasswordHashingOptions DoExtractPasswordHashingOptions(HashedPassword hash, out bool needRehash)
Parameters
Type Name Description
HashedPassword hash
System.Boolean needRehash
Returns
Type Description
MD5PasswordHashingOptions
Overrides
NFX.Security.PasswordHashingAlgorithm<NFX.Security.MD5PasswordHashingOptions>.DoExtractPasswordHashingOptions(NFX.Security.HashedPassword, System.Boolean)

Implements

IApplicationComponent
System.IDisposable
IService
IConfigurable
ILocalizedTimeProvider
IInstrumentable
IExternallyParameterized
INamed

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX