DSAzure.TSharedKeyAuthorization.SetSHAKey

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DSAzure.pas
DSAzure.hpp
Unit: DSAzure
Parent: TSharedKeyAuthorization

Delphi

procedure SetSHAKey(const Key: String);

C++

void __fastcall SetSHAKey(const System::UnicodeString Key);

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.

See Also