Class HmacDpopNonceProvider
Stateless HMAC-SHA256 nonce provider. Each nonce encodes a Unix-second timestamp and
16 random bytes plus an HMAC; validation re-computes the HMAC and checks the timestamp
against .
Format: base64url(timestamp_be8 || rand16 || hmac_sha256(secret, timestamp_be8 || rand16)).
public sealed class HmacDpopNonceProvider : IDpopNonceProvider
Inheritance
Implements
Methods
IssueNonce()
Issues a fresh nonce string suitable for the DPoP-Nonce header.
public string IssueNonce()
ValidateNonce(string)
Returns true when the supplied nonce is well-formed, signature-valid
public bool ValidateNonce(string nonce)