DSAzure.TSharedKeyAuthorization.HMAC_SHA256

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function HMAC_SHA256(const StringToSign: String): TArray<Byte>;

C++

System::DynamicArray<System::Byte> __fastcall HMAC_SHA256(const System::UnicodeString StringToSign);

Propriétés

Type Visibilité  Source Unité  Parent
function protected
DSAzure.pas
DSAzure.hpp
DSAzure TSharedKeyAuthorization


Description

Construit une signature HMAC pour l'autorisation.

HMAC_SHA256 construit un code d'authentification d'une empreinte cryptographique de message avec clé (HMAC) où StringToSign est la requête en cours. Le résultat peut ensuite être codé en base64 et utilisé pour l'autorisation SharedKey, tel qu'il apparaît dans la fonction Authentication. Pour plus d'informations, voir la section 'Specifying the Authorization Header' de la documentation MSDN dans la rubrique Voir aussi.

Voir aussi