Skip to content

Importing and exporting keys that are in non-default formats #149

@athoelke

Description

@athoelke

This issue is a broader set of use cases than the one defined in #44, which only considers the import of a key from a data format that specifies the key type and/or policy.

There are a number of uses cases where built-in support for additional key data formats are valuable for applications using the Crypto API:

  • Importing data in a format that provides some or all of the key meta-data alongside the key material. (see also Importing a key without knowing its exact type #44)
  • Exporting keys to a standard format, that is not the default key format for the API.
  • Import and export of wrapped keys, that use a device-specific, secret wrapping key and an implementation-specified algorithm. This use case can be useful for provisioning keys to a device, or securely storing keys outside of the key-store.

For more general key-wrapping support, where the application can select the algorithm and key-wrapping key, see #50.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API designRelated the design of the APICrypto APIIssue or PR related to the Cryptography APIenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions