Exports a key pair as PEM, DER, a JWK set or a password-protected PKCS#12: the selected object's, or the one in the draft's key boxes.
the realm
the draft, carrying the format, password and chain choice
Optional
the stored object's id; the draft's pair when absent
{ ok: true, files, status, truncated }, or { ok: false, errors }
{ ok: true, files, status, truncated }
{ ok: false, errors }
Exports a key pair as PEM, DER, a JWK set or a password-protected PKCS#12: the selected object's, or the one in the draft's key boxes.