issue: (realmId: string, draft: Draft) => Promise<Outcome> = ...
Type Declaration
-
- (realmId: string, draft: Draft): Promise<Outcome>
-
Parameters
- realmId: string
- draft: Draft
Returns Promise<Outcome>
{ ok: true, object, draft, dropped, why }, or { ok: false, errors } marked with its code
Issues a certificate from the draft: the key pair (generated or reused), the issuer, serial, validity, subject, extensions, the hybrid half and a certification request, and stores it in the realm's store.
The draft comes back with a fresh serial and the certified key pair.