Signature and Exchange key types– what are they and when to use each ( Makecert -sky )?

user437291 picture user437291 · Nov 23, 2010 · Viewed 11k times · Source

-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

Answer

StuckOverflow picture StuckOverflow · Nov 29, 2012

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