SecurityUtilsHmacEncryptAndSign Method (Byte, SecurityUtilsBase64Variant, String) |
Encrypts and signs data with AES/HMACSHA-256.
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 string HmacEncryptAndSign(
byte[] aKey,
SecurityUtilsBase64Variant resultFormat,
params string[] aFields
)
Parameters
- aKey
- Type: SystemByte
The 256-bit (32 byte) AES/HMAC key. - resultFormat
- Type: PDTec.IceNet.Sdk.UtilsSecurityUtilsBase64Variant
The base64 variant of the result. - aFields
- Type: SystemString
The data fields to be encrypted and signed.
Return Value
Type:
StringThe signed and encrypred data as a base64-encoded string.
See Also