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 ISymmetricAlgorithm

interface ISymmetricAlgorithm
Extends com.amazon.apmf.IStandard Interface for symmetric algorithms.

Methods

getKeyLength()

i32 getKeyLength()
Get the key length of the algorithm.

Returns

i32 The key length in bits.

getBlockSize()

i32 getBlockSize()
Get the block size of the algorithm.

Returns

i32 The block size in bytes.

getName()

string getName()
Get the name of the algorithm.

Returns

string The name of the algorithm.

Constants

AES128

string = "Aes128"
Constant representing the AES 128-bit algorithm.

AES192

string = "Aes192"
Constant representing AES 192-bit algorithm.

AES256

string = "Aes256"
Constant representing the AES 256-bit algorithm.
Last modified on October 29, 2026