useStoredKey: (
realmId: string,
draft: Draft,
objectId: string,
) => Promise<Outcome> = ...
Type Declaration
-
- (realmId: string, draft: Draft, objectId: string): Promise<Outcome>
-
Parameters
- realmId: string
- draft: Draft
- objectId: string
Returns Promise<Outcome>
{ ok: true, draft, why }, or { ok: false, errors } when the
object is missing or has no private key here
Loads a stored object's key pair back into the draft and ticks the reuse box, so the next issue certifies that key.