ITokenSignatureProvider - интерфейс

An object that provides cryptographic means for signing and verifying signatures for an access token.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public interface ITokenSignatureProvider

Методы

CheckSignatureAsync Verifies the integrity of the signature signature for the token data tokenInfo.
GetHashAsync Computes the hash value for the token token.
GetSignatureAsync Signs the token data tokenInfo.
GetSignatureLength Returns the length of the signature in bytes, which is used to create and verify the signature. This is always a relatively small number, so a byte array of this size can be allocated on the stack using stackalloc.

См. также