ITokenSignatureProvider - интерфейс
An object that provides cryptographic means for signing and verifying signatures for an access token.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public interface ITokenSignatureProvider
Public Interface ITokenSignatureProvider
public interface class ITokenSignatureProvider
type ITokenSignatureProvider = interface end
| 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.
|