Pular para o conteúdo principal

EntityFrameworkNonceStore

Namespace: Lacuna.Pki.EntityFrameworkConnector
Assembly: Lacuna.Pki.EntityFrameworkConnector
Class

public class EntityFrameworkNonceStore : INonceStore

Hierarquia: objectEntityFrameworkNonceStore

Construtores

EntityFrameworkNonceStore(IPkiNonceStoreContext, bool)

public EntityFrameworkNonceStore(IPkiNonceStoreContext dbContext, bool autoSaveChanges = true)

Parâmetros

NomeTipoDescrição
dbContextIPkiNonceStoreContext
autoSaveChangesbool

Métodos

CheckAndRemove(byte[])

Check that the given nonce is in the store and remove it if so.

public bool CheckAndRemove(byte[] nonce)

Parâmetros

NomeTipoDescrição
noncebyte[]Nonce to search for, a 16-byte byte array.

Retorno

bool — True if the nonce is found, false otherwise.


Store(byte[])

Store a cryptographic nonce.

public void Store(byte[] nonce)

Parâmetros

NomeTipoDescrição
noncebyte[]A 16-byte byte array.

Membros herdados

ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()