Data.Cloud.CloudAPI.TCloudSHA256Authentication.SignString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SignString(const Signkey: TBytes; const StringToSign: string): TBytes; override;

C++

virtual System::DynamicArray<System::Byte> __fastcall SignString(const System::DynamicArray<System::Byte> Signkey, const System::UnicodeString StringToSign);

Properties

Type Visibility Source Unit Parent
function protected
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Data.Cloud.CloudAPI TCloudSHA256Authentication

Description

Signs the given string with the provided key using the SHA256 algorithm.

StringToSign represents the string to sign. Signkey represents the key to use for signing.

SignString returns the SHA256 signed string (as bytes) to use as part of the Authorization header in all requests.

See Also