Show / Hide Table of Contents

Interface IPasswordStorage<T>

Defines a set of members to be implemented by a type that implements IPasswordStorage and that exposes configuration data for a key‑derivation algorithm.

Inherited Members
IPasswordStorage.AlgId
IPasswordStorage.ConfigureFrom(BinaryReader)
IPasswordStorage.DumpSettings()
IPasswordStorage.Generate(byte[])
IPasswordStorage.Generate(SecureString)
IPasswordStorage.KeyLength
Namespace: TheXDS.MCART.Security
Assembly: MCART.Security.dll
Syntax
public interface IPasswordStorage<T> : IPasswordStorage where T : struct
Type Parameters
Name Description
T

The type that holds the configuration values. It is recommended to use record or record struct types with immutable properties for safety.

Properties

| Edit this page View Source

Settings

Gets a reference to the active configuration of this instance.

Declaration
T Settings { get; set; }
Property Value
Type Description
T

Methods

| Edit this page View Source

ConfigureFrom(ReadOnlySpan<byte>)

Configure this instance from a block of data that represents the serialized configuration.

Declaration
void ConfigureFrom(ReadOnlySpan<byte> data)
Parameters
Type Name Description
ReadOnlySpan<byte> data

A read‑only span of bytes that contains the configuration block.

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX