Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is this special attribute added to PKCS#12 files to make MS software import keys as signature only?

0
Posted

What is this special attribute added to PKCS#12 files to make MS software import keys as signature only?

0

A. When I closely analysed MS PKCS#12 files used for signing only and key exchange I noticed that the PKCS#8 PrivateKeyInfo structure contained a keyUsage attribute. The object identifier is the same as the keyUsage certificate extensions and the associcated parameter is a BITSTRING. A signature key has the digitalsignature bit set and an exchange key has the dataEncipherment bit set. This corresponds to bits 0 and 3 or the values 0x80 and 0x10 respectively.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123