Click or drag to resize

SecurityUtilsHmacTryVerifyAndDecrypt Method (Byte, Byte, Byte)

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
C#
public static bool HmacTryVerifyAndDecrypt(
	byte[] aKey,
	byte[] aEncodedData,
	out byte[] aData
)

Parameters

aKey
Type: SystemByte
The 256-bit (32 byte) AES/HMAC key.
aEncodedData
Type: SystemByte
The signed and encrypred data.
aData
Type: SystemByte
The decrypted binary data.

Return Value

Type: Boolean
true if the HMAC signature is valid, otherwise false.
See Also