EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to setup key usage of certificate?

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#203
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?
Thank.
#206
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):
Code
Cert.Extensions.Included := [ceKeyUsage]
Cert.Extensions.KeyUsage := [kuKeyEncipherment, kuKeyAgreement];
#207
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.

Reply

Statistics

Topic viewed 4322 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!