<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.2.0" />

Microsoft.Azure.Storage.Core.Util.AuthenticationUtility

static class AuthenticationUtility
public static void AppendCanonicalizedContentLengthHeader(CanonicalizedString canonicalizedString, HttpRequestMessage request)

Appends the value of the Content-Length header to the specified canonicalized string.

public static void AppendCanonicalizedCustomHeaders(CanonicalizedString canonicalizedString, HttpRequestMessage request)

Appends the values of the x-ms-* headers to the specified canonicalized string.

public static void AppendCanonicalizedDateHeader(CanonicalizedString canonicalizedString, HttpRequestMessage request, bool allowMicrosoftDateHeader = false)

Appends the value of the Date header (or, optionally, the x-ms-date header) to the specified canonicalized string.

public static string GetCanonicalizedHeaderValue(DateTimeOffset? value)

Gets the canonicalized header value to use for the specified date/time or null if it does not have a value.

public static string GetCanonicalizedResourceString(Uri uri, string accountName, bool isSharedKeyLiteOrTableService = false)

Gets the canonicalized resource string for the specified URI.

public static string GetPreferredDateHeaderValue(HttpRequestMessage request)

Gets the value of the x-ms-date or Date header.