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 ICtrContextBuilder

interface ICtrContextBuilder
Extends ICipherContextBuilder Interface for building CTR cipher contexts.

Methods

nonce()

ICtrContextBuilder* nonce(u64 nonce)
Specify the nonce value to use. This parameter is mandatory.

Parameters

nonce
u64 — Required The nonce value to use.

Returns

ICtrContextBuilder* The CTR context builder object.

count()

ICtrContextBuilder* count(u64 count)
Specify the initial counter value to use. This parameter is mandatory.

Parameters

count
u64 — Required The initial counter value to use.

Returns

ICtrContextBuilder* The CTR context builder object.
Last modified on October 29, 2026