Exports one key from the inventory in a format it offers.
Answers rather than throws: a refusal carries its error code and a sentence
a person can act on. A post-quantum key is exported as its public half
only.
Parameters
id: any
the key's inventory id
format: any
pem, der, jwk or pkcs12, as the key offers
password: any
the PKCS#12 password
Returns Promise<any>
ok with the files and a status line, or ok: false with
errors
Exports one key from the inventory in a format it offers.
Answers rather than throws: a refusal carries its error code and a sentence a person can act on. A post-quantum key is exported as its public half only.