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()
List the Edwards curves that this keystore supports.com.amazon.kepler.crypto.IEdwardsCurve*[]getSupportedEdwardsCurves()
Returns
com.amazon.kepler.crypto.IEdwardsCurve*[]
An array of supported Edwards curves.
makeEdwardsKeyBuilder()
Make a builder that can be used to import or generate an Edwards curve key in this keystore.IKeystoreEdwardsKeyBuilder*makeEdwardsKeyBuilder()
Returns
IKeystoreEdwardsKeyBuilder*
The Edwards key builder object.
getSupportedMessageAuthenticationCodes()
List the Message Authentication Code algorithms that this keystore supports.com.amazon.kepler.crypto.IMessageAuthenticationCode*[]getSupportedMessageAuthenticationCodes()
Returns
com.amazon.kepler.crypto.IMessageAuthenticationCode*[]
An array of supported MAC algorithms.
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.IKeystoreRsaKeyBuilder2*makeRsaKeyBuilder()
Returns
IKeystoreRsaKeyBuilder2*
The enhanced RSA key builder object.
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.IKeystoreRsaOaepKeyBuilder2*makeRsaOaepKeyBuilder()
Returns
IKeystoreRsaOaepKeyBuilder2*
The enhanced RSA OAEP key builder object.
makeMacKeyBuilder()
Make a builder that can be used to import or generate an MAC key in this keystore.IKeystoreMacKeyBuilder*makeMacKeyBuilder()
Returns
IKeystoreMacKeyBuilder*
The Message Authentication Code key builder object.

