iya-sts
    Preparing search index...
    applyProfile: (draft: Draft, profileId: unknown) => Draft = ...

    Type Declaration

      • (draft: Draft, profileId: unknown): Draft
      • Rewrites the draft's extension boxes and validity to a profile's, and fills the subject where it is empty or still a default.

        A CN or subjectAltName somebody typed is never overwritten. An unknown profile is the default one.

        Parameters

        • draft: Draft

          the draft

        • profileId: unknown

          the profile to apply

        Returns Draft

        a new draft