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

HmacContextBuilder

Provides support for building HMAC (Hash-based Message Authentication Code) contexts.

Extends

  • BaseCryptoClass

Constructors

new HmacContextBuilder()

new HmacContextBuilder(): HmacContextBuilder

Returns

HmacContextBuilder

Methods

build()

build(): HmacContext

Build a context that can be used for performing HMAC operations, based on the configured parameters.

Throws

  • If any mandatory parameter is missing or invalid.

Returns

HmacContext

HmacContext The built HMAC context.


Last updated: Jul 22, 2026