Show / Hide Table of Contents

Class Pbkdf2Storage

Deriva claves a partir de contraseñas utilizando el algoritmo PBKDF2.

Inheritance
object
Pbkdf2Storage
Implements
IPasswordStorage<Pbkdf2Settings>
IPasswordStorage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Security
Assembly: MCART.Security.dll
Syntax
public class Pbkdf2Storage : IPasswordStorage<Pbkdf2Settings>, IPasswordStorage
Remarks

Inicializa una nueva instancia de la clase Pbkdf2Storage, especificando la configuración del algoritmo de derivación de claves a utilizar.

Constructors

| Edit this page View Source

Pbkdf2Storage()

Inicializa una nueva instancia de la clase Pbkdf2Storage, estableciendo la configuración del algoritmo de derivación de claves a los valores predeterminados.

Declaration
public Pbkdf2Storage()
| Edit this page View Source

Pbkdf2Storage(Pbkdf2Settings)

Deriva claves a partir de contraseñas utilizando el algoritmo PBKDF2.

Declaration
public Pbkdf2Storage(Pbkdf2Settings settings)
Parameters
Type Name Description
Pbkdf2Settings settings

Configuración del algoritmo de derivación de claves a utilizar.

Remarks

Inicializa una nueva instancia de la clase Pbkdf2Storage, especificando la configuración del algoritmo de derivación de claves a utilizar.

Properties

| Edit this page View Source

Settings

Obtiene una referencia a la configuración activa de esta instancia.

Declaration
public Pbkdf2Settings Settings { get; set; }
Property Value
Type Description
Pbkdf2Settings

Methods

| Edit this page View Source

ConfigureFrom(BinaryReader)

Obtiene la configuración a partir del bloque especificado, haciendo avanzar el lector la cantidad de bytes requeridos por la configuración de esta instancia.

Declaration
public void ConfigureFrom(BinaryReader reader)
Parameters
Type Name Description
BinaryReader reader

Objeto a partir del cual leer los valores de configuración.

| Edit this page View Source

DumpSettings()

Vuelca los valores de configuración en formato binario.

Declaration
public byte[] DumpSettings()
Returns
Type Description
byte[]

Un arreglo de bytes a partir del cual se puede volver a construir el objeto que contiene los valores de configuración de derivación de claves para esta instancia.

| Edit this page View Source

GetDefaultSettings()

Obtiene un Pbkdf2Settings que representa la configuración predeterminada recomendada para derivar claves de almacenamiento.

Declaration
public static Pbkdf2Settings GetDefaultSettings()
Returns
Type Description
Pbkdf2Settings

Un Pbkdf2Settings que representa la configuración predeterminada recomendada.

Implements

IPasswordStorage<T>
IPasswordStorage

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.ShallowClone<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