Show / Hide Table of Contents

Interface IAsyncNonceStore

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

Namespace: Lacuna.Pki.Stores
Assembly: Lacuna.Pki.dll
Syntax
public interface IAsyncNonceStore

Methods

CheckAndRemoveAsync(Byte[], CancellationToken)

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

Declaration
Task<bool> CheckAndRemoveAsync(byte[] nonce, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
Byte[] nonce
CancellationToken cancellationToken
Returns
Type Description
Task<Boolean>

StoreAsync(Byte[], CancellationToken)

Store a cryptographic nonce.

Declaration
Task StoreAsync(byte[] nonce, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
Byte[] nonce
CancellationToken cancellationToken
Returns
Type Description
Task
Back to top Copyright © 2015-2020 Lacuna Software