DSAzure.TSharedKeyAuthorization.SetSHAKey
Delphi
procedure SetSHAKey(const Key: String);
C++
void __fastcall SetSHAKey(const System::UnicodeString Key);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | DSAzure.pas DSAzure.hpp |
DSAzure | TSharedKeyAuthorization |
Description
Stores and decodes the account key for later use.
SetSHAKey takes in the storage account key and sets it as the value stored in the Password field. It then does a base64 decoding of the password and sets the result as the value that will be later used in calls to the HMAC_SHA256 function.