Class HmacAuthenticationParameters
Represents a set of parameters that is needed for creating a keyed-hash message authentication code (HMAC).
Inheritance
System.Object
HmacAuthenticationParameters
Namespace: Cuemon.AspNetCore.Authentication
Assembly: Cuemon.AspNetCore.Authentication.dll
Syntax
public class HmacAuthenticationParameters
Properties
| Improve this DocAlgorithm
Gets the algorithm of the HMAC. Default is SHA1.
Declaration
public HmacAlgorithmType Algorithm { get; }
Property Value
Type | Description |
---|---|
HmacAlgorithmType | The algorithm of the HMAC. |
Message
Gets the message to compute a hash code for.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message to compute a hash code for. |
PrivateKey
Gets the secret key for the hashed encryption.
Declaration
public byte[] PrivateKey { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | The secret key for the hashed encryption. |