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 IKeystoreBlobStorage

interface IKeystoreBlobStorage
Extends com.amazon.apmf.IStandard Interface for keystores that allow exporting key blobs. Most keystores will not implement this interface because they will handle persisting keys automatically.

Methods

importKeyFromBlob()

IKeystoreKey* importKeyFromBlob(u8[] blob)
Import a key from a keyblob previously exported from this keystore.

Parameters

blob
u8[] — Required The key blob to import.

Returns

IKeystoreKey* The imported keystore key.

Throws


exportBlob()

u8[] exportBlob(IKeystoreKey* key)
Export a key blob that can only be used by the owning keystore. This exports the key and associated metadata as an encrypted blob that can only be used by this keystore.

Parameters

key
IKeystoreKey* — Required The keystore key to export.

Returns

u8[] The exported key blob.
Last modified on October 29, 2026