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 IKeystore2

interface IKeystore2
Extends IKeystore IKeystore2 adds support for Edwards curve cryptography, Message Authentication Codes, and enhanced key builders. This interface extends IKeystore with Edwards curve key management capabilities, MAC algorithm support, and provides access to enhanced builders with additional functionality.

Methods

getSupportedEdwardsCurves()

com.amazon.kepler.crypto.IEdwardsCurve*[] getSupportedEdwardsCurves()
List the Edwards curves that this keystore supports.

Returns

com.amazon.kepler.crypto.IEdwardsCurve*[] An array of supported Edwards curves.

makeEdwardsKeyBuilder()

IKeystoreEdwardsKeyBuilder* makeEdwardsKeyBuilder()
Make a builder that can be used to import or generate an Edwards curve key in this keystore.

Returns

IKeystoreEdwardsKeyBuilder* The Edwards key builder object.

getSupportedMessageAuthenticationCodes()

com.amazon.kepler.crypto.IMessageAuthenticationCode*[] getSupportedMessageAuthenticationCodes()
List the Message Authentication Code algorithms that this keystore supports.

Returns

com.amazon.kepler.crypto.IMessageAuthenticationCode*[] An array of supported MAC algorithms.

makeRsaKeyBuilder()

IKeystoreRsaKeyBuilder2* makeRsaKeyBuilder()
Make an enhanced RSA key builder with public exponent support. This method creates an enhanced version of the RSA key builder that supports setting explicit public exponents for keystore-managed keys.

Returns

IKeystoreRsaKeyBuilder2* The enhanced RSA key builder object.

makeRsaOaepKeyBuilder()

IKeystoreRsaOaepKeyBuilder2* makeRsaOaepKeyBuilder()
Make an enhanced RSA OAEP key builder with public exponent support. This method creates an enhanced version of the RSA OAEP key builder that supports setting explicit public exponents for keystore-managed keys.

Returns

IKeystoreRsaOaepKeyBuilder2* The enhanced RSA OAEP key builder object.

makeMacKeyBuilder()

IKeystoreMacKeyBuilder* makeMacKeyBuilder()
Make a builder that can be used to import or generate an MAC key in this keystore.

Returns

IKeystoreMacKeyBuilder* The Message Authentication Code key builder object.
Last modified on October 29, 2026