SecurityUtilsHmacTryVerifyAndDecrypt Method (String, String, String) |
Verifies a HMACSHA-256 signature and decrypts data.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static bool HmacTryVerifyAndDecrypt(
string key,
string encodedData,
out string[] aFields
)
Parameters
- key
- Type: SystemString
The 256-bit (32 byte) AES/HMAC key as a 64-char hex string. - encodedData
- Type: SystemString
The signed and encrypred data as a base64-encoded string. - aFields
- Type: SystemString
The decrypted data fields.
Return Value
Type:
Booleantrue if the HMAC signature is valid, otherwise
false.
See Also