Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IHmacContextBuilder2

interface IHmacContextBuilder2
Extends IHmacContextBuilder

Methods

macAlgorithm()

IHmacContextBuilder2* macAlgorithm(IMessageAuthenticationCode* alg)
Specify the Message Authentication Code (MAC) algorithm to use. This parameter is mandatory.

Parameters

alg
IMessageAuthenticationCode* — Required The MAC algorithm to use.

Returns

IHmacContextBuilder2* The HMAC context builder object.
Last modified on October 29, 2026