iya-sts
    Preparing search index...

    Variable importCa

    importCa: (scopeId: any, useCaseId: any, material: any) => Promise<any> = importCa

    Type Declaration

      • (scopeId: any, useCaseId: any, material: any): Promise<any>
      • Imports an authority this service did not generate: the service Root, or one scope's Issuing CA.

        The certificate and key are checked to belong together before anything is stored.

        Parameters

        • scopeId: any

          a realm id or PROCESS_SCOPE

        • useCaseId: any

          'root' for the service Root, otherwise the use case

        • material: any

          { certificatePem, privateKeyPem }

        Returns Promise<any>

        a promise of { ok: true, imported, ... } or { ok: false, errors }