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 ICrypto3

interface ICrypto3
Extends ICrypto2 ICrypto3 adds support for Edwards curve cryptography, AES-192, and Message Authentication Codes.

Methods

getSupportedEdwardsCurves()

IEdwardsCurve*[] getSupportedEdwardsCurves()
List supported Edwards curves.

Returns

IEdwardsCurve*[] An array of supported Edwards curves.

getEdwardsCurveByName()

IEdwardsCurve* getEdwardsCurveByName(string name)
Get an Edwards curve by name.

Parameters

name
string — Required The name of the Edwards curve (Ed25519, Ed448).

Returns

IEdwardsCurve* The requested Edwards curve.

Throws


makeEdwardsKeyBuilder()

IEdwardsKeyBuilder* makeEdwardsKeyBuilder()
Make an object for building Edwards curve keys.

Returns

IEdwardsKeyBuilder* The Edwards key builder object.

makeHmacKeyBuilder()

IHmacKeyBuilder* makeHmacKeyBuilder()
Make an object for building HMAC keys.

Returns

IHmacKeyBuilder* The HMAC key builder object.

getSupportedMessageAuthenticationCodes()

IMessageAuthenticationCode*[] getSupportedMessageAuthenticationCodes()
List supported Message Authentication Code algorithms.

Returns

IMessageAuthenticationCode*[] An array of supported MAC algorithms.

getMessageAuthenticationCodeByName()

IMessageAuthenticationCode* getMessageAuthenticationCodeByName(string name)
Get a Message Authentication Code algorithm by name.

Parameters

name
string — Required The name of the MAC algorithm (HmacSha256, HmacSha384, HmacSha512).

Returns

IMessageAuthenticationCode* The requested MAC algorithm.

Throws


Last modified on October 29, 2026