EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to setup key usage of certificate?

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 05/14/2006 19:49:38
by Le Huyen Trang (Basic support level)
Joined: 05/04/2006
Posts: 6

Please show me how to set proper key usage for one of the certificate?
Posted: 05/15/2006 00:50:51
by Ken Ivanov (EldoS Corp.)

You cannot change key usages for existing certificates. Key usage should be set on certificate generation stage. Please consider using the following code (you did not mention the edition you are using, so using Delphi notation):
Cert.Extensions.Included := [ceKeyUsage]
Cert.Extensions.KeyUsage := [kuKeyEncipherment, kuKeyAgreement];
Posted: 05/15/2006 00:51:43
by Ken Ivanov (EldoS Corp.)

You can also use ExtendedKeyUsage extension, which allows to specify custom certificate usages.



Topic viewed 4817 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!