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 ICbcContextBuilder

interface ICbcContextBuilder
Extends ICipherContextBuilder Interface for building CBC cipher contexts.

Methods

getIvSize()

i32 getIvSize()
Get the size of the initialization vector (IV) for the CBC cipher.

Returns

i32 The size of the IV.

iv()

ICbcContextBuilder* iv(u8[] iv)
Specify the initialization vector (IV) to use. This parameter is mandatory.

Parameters

iv
u8[] — Required The initialization vector to use.

Returns

ICbcContextBuilder* The CBC context builder object.
Last modified on October 29, 2026