Pular para o conteúdo principal

IAsyncNonceStore

Namespace: Lacuna.Pki.Stores
Assembly: Lacuna.Pki
Interface

External asynchronous store that can store cryptographic nonces for certificate authentication.

public interface IAsyncNonceStore

Métodos

CheckAndRemoveAsync(byte[], CancellationToken)

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

Task<bool> CheckAndRemoveAsync(byte[] nonce, CancellationToken cancellationToken = default)

Parâmetros

NomeTipoDescrição
noncebyte[]
cancellationTokenCancellationToken

Retorno

Task<bool>


StoreAsync(byte[], CancellationToken)

Store a cryptographic nonce.

Task StoreAsync(byte[] nonce, CancellationToken cancellationToken = default)

Parâmetros

NomeTipoDescrição
noncebyte[]
cancellationTokenCancellationToken

Retorno

Task