C# Class VirtoCommerce.SwaggerApiClient.HmacUtility

Afficher le fichier Open project: VirtoCommerce/vc-internal Class Usage Examples

Méthodes publiques

Méthode Description
ComputeHash ( HMAC>.Func hmacFactory, byte secretKey, byte data ) : string
ComputeHash ( HMAC>.Func hmacFactory, string secretKey, string data ) : string
GetHashString ( HMAC>.Func hmacFactory, string secretKey, NameValuePair parameters ) : string

Private Methods

Méthode Description
BuildDataString ( NameValuePair parameters ) : string
ConvertBytesToHexString ( byte bytes ) : string
ConvertHexStringToBytes ( string hexString ) : byte[]

Method Details

ComputeHash() public static méthode

public static ComputeHash ( HMAC>.Func hmacFactory, byte secretKey, byte data ) : string
hmacFactory HMAC>.Func
secretKey byte
data byte
Résultat string

ComputeHash() public static méthode

public static ComputeHash ( HMAC>.Func hmacFactory, string secretKey, string data ) : string
hmacFactory HMAC>.Func
secretKey string
data string
Résultat string

GetHashString() public static méthode

public static GetHashString ( HMAC>.Func hmacFactory, string secretKey, NameValuePair parameters ) : string
hmacFactory HMAC>.Func
secretKey string
parameters NameValuePair
Résultat string