Data.Cloud.CloudAPI.TCloudSHA1Authentication.SignString
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp
| |
Unit: Data.Cloud.CloudAPI | |
Parent: TCloudSHA1Authentication |
Delphi
function SignString(const Signkey: TBytes; const StringToSign: string): TArray<Byte>; override;
C++
virtual System::DynamicArray<System::Byte> __fastcall SignString(const System::Sysutils::TBytes Signkey, const System::UnicodeString StringToSign);
Description
Signs the given string with the provided key using the SHA1 algorithm.
StringToSign
represents the string to sign. Signkey
represents the key to use for signing.
SignString returns the SHA1 signed string (as bytes) to use as part of the Authorization header in all requests.