DSAzure.TSharedKeyAuthorization.HMAC_SHA256
Delphi
function HMAC_SHA256(const StringToSign: String): TArray<Byte>;
C++
System::DynamicArray<System::Byte> __fastcall HMAC_SHA256(const System::UnicodeString StringToSign);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | DSAzure.pas DSAzure.hpp |
DSAzure | TSharedKeyAuthorization |
Description
Constructs an HMAC Signature for authorization.
HMAC_SHA256 constructs a Hash-based Message Authentication Code (HMAC), where StringToSign is the current request. The result can then be base64-encoded and used for SharedKey authorization, as seen in the Authentication function. For more information, refer to the 'Specifying the Authorization Header' section of the MSDN documentation in the See Also section.