Data.Cloud.CloudAPI.TCloudAuthentication.SignString

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Unit: Data.Cloud.CloudAPI
Parent: TCloudAuthentication

Delphi

function SignString(const Signkey: TBytes; const StringToSign: string): TBytes; virtual; abstract;

C++

virtual System::Sysutils::TBytes __fastcall SignString(const System::Sysutils::TBytes Signkey, const System::UnicodeString StringToSign) = 0 ;

Description

Signs the given string with the provided key.

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

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

See Also