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
| Nome | Tipo | Descrição |
|---|---|---|
nonce | byte[] | |
cancellationToken | CancellationToken |
Retorno
StoreAsync(byte[], CancellationToken)
Store a cryptographic nonce.
Task StoreAsync(byte[] nonce, CancellationToken cancellationToken = default)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
nonce | byte[] | |
cancellationToken | CancellationToken |
Retorno