-sky switch Specifies the subject's key type, which must be signature, exchange, or an integer that represents a provider type. By default, you can pass 1 for an exchange key and 2 for a signature key.
If I understand this correctly, then signature
and exchange
are two key types? In what situations is each used?
thank you
That is correct, these are the two type of asymmetric keys (public/private keys). Asymmetric keys are generally used for two purposes, 1)encrypt session keys 2)creating a digital signature
When talking about the key type: Exchange = encrypt session keys Signature = create digital signature
Here is a link that has a good explanation. Asymmetric Keys