Type alias PublicSecret<Asym>

PublicSecret<Asym>: If<Asym, "public", "secret">

Pick "public" or "secret" based on whether the algorithm is asymmetric.

Type Parameters

  • Asym extends boolean