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