Type alias PrivateSecret<Asym>

PrivateSecret<Asym>: If<Asym, "private", "secret">

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

Type Parameters

  • Asym extends boolean