HmacLessThan64Bytes Method
HmacLessThan64Bytes(Boolean)
Set when the HMAC message is less than 64 bytes.
C#
public T HmacLessThan64Bytes(bool setting = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | setting |
Returns
T
Remarks
The default HMAC challenge is exactly 64 bytes. This setting specifies that the challenge will always be less than 64 bytes.
This setting must be used with either UseYubicoOtpChallengeResponseMode(Boolean) or UseHmacSha1ChallengeResponseMode(Boolean).