Type Alias PrivateSecret<Asym>

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

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

Type Parameters

  • Asym extends boolean