Class PasswordHashingAlgorithm<TOptions>
Inheritance
System.Object
PasswordHashingAlgorithm<TOptions>
Implements
System.IDisposable
Inherited Members
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)
Assembly: Azos.dll
Syntax
public abstract class PasswordHashingAlgorithm<TOptions> : PasswordHashingAlgorithm, IDisposable, IDaemon, IDaemonView, IApplicationComponent, IConfigurable, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, INamed where TOptions : IPasswordHashingOptions
Type Parameters
Name |
Description |
TOptions |
|
Constructors
PasswordHashingAlgorithm(IPasswordManagerImplementation, String)
Declaration
public PasswordHashingAlgorithm(IPasswordManagerImplementation director, string name)
Parameters
Properties
DefaultPasswordHashingOptions
Declaration
protected abstract TOptions DefaultPasswordHashingOptions { get; }
Property Value
Type |
Description |
TOptions |
|
Methods
ComputeHash(PasswordFamily, SecureBuffer, TOptions)
Declaration
public HashedPassword ComputeHash(PasswordFamily family, SecureBuffer password, TOptions options)
Parameters
Returns
DoComputeHash(PasswordFamily, SecureBuffer)
Declaration
protected override HashedPassword DoComputeHash(PasswordFamily family, SecureBuffer password)
Parameters
Returns
Overrides
DoComputeHash(PasswordFamily, SecureBuffer, TOptions)
Declaration
protected abstract HashedPassword DoComputeHash(PasswordFamily family, SecureBuffer password, TOptions options)
Parameters
Returns
Declaration
protected abstract TOptions DoExtractPasswordHashingOptions(HashedPassword hash, out bool needRehash)
Parameters
Returns
Type |
Description |
TOptions |
|
DoVerify(SecureBuffer, HashedPassword, out Boolean)
Declaration
protected override bool DoVerify(SecureBuffer password, HashedPassword hash, out bool needRehash)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public TOptions ExtractPasswordHashingOptions(HashedPassword hash, out bool needRehash)
Parameters
Returns
Type |
Description |
TOptions |
|
Implements
System.IDisposable
Extension Methods