EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Signing a string using a certificate from the store (Delphi 7)

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#30311
Posted: 08/13/2014 13:59:38
by Eugene Mayevski (EldoS Corp.)

You are running the code under IDE and if the exception happens, the IDE attempts to find and load the source file where the exception happens. If you ignore the prompt, execution will continue and the exception will be either shown or passed to the application.


Sincerely yours
Eugene Mayevski
#30312
Posted: 08/13/2014 14:06:41
by ROWEL LIRAG (Standard support level)
Joined: 08/08/2014
Posts: 11

Running outside the IDE produced "EElCryptoProviderInvalidSignatureError raised, with message: Invalid signature"

??

Quick question and sorry if I'm asking the same:
Am I passing the right parameters to Crypto before calling Crypto.VerifyDetached ?
#30313
Posted: 08/13/2014 14:11:18
by Eugene Mayevski (EldoS Corp.)

The parameters you are passing are not correct. VerifyDetached accepts two input streams - the stream with data and the stream with the signature. It doesn't write any data as output (it's Verify method that does).

Also remember that you must set the license key, otherwise cryptographic primitives will work but will produce invalid results.


Sincerely yours
Eugene Mayevski
#30314
Posted: 08/13/2014 14:21:36
by ROWEL LIRAG (Standard support level)
Joined: 08/08/2014
Posts: 11

Duh! Ok, let me mod the code. and yes, the evaluation key license is set and still valid. Thank you.
#30315
Posted: 08/13/2014 16:15:40
by ROWEL LIRAG (Standard support level)
Joined: 08/08/2014
Posts: 11

Thank you, Eugene for the excellent help.
I've got the code to finally sign and verify.
For this simple task, do I need to buy a license for SecureBlackBox (VCL edition) or can I use the free CryptoBlackbox?
#30319
Posted: 08/14/2014 02:26:03
by Eugene Mayevski (EldoS Corp.)

CryptoBlackbox can be used.


Sincerely yours
Eugene Mayevski
#30343
Posted: 08/14/2014 06:22:38
by ROWEL LIRAG (Standard support level)
Joined: 08/08/2014
Posts: 11

Thank you!
#30407
Posted: 08/18/2014 13:49:30
by ROWEL LIRAG (Standard support level)
Joined: 08/08/2014
Posts: 11

Do I need SecureBlackBox VCL edition and a license to do:

1. signing and verification
2. online certificate status validation

or is CryptoBlackBox enough?

If I do need a license is the license for the PKIBlackbox package enough?

Thank you.
#30408
Posted: 08/18/2014 13:56:34
by Eugene Mayevski (EldoS Corp.)

OCSP and CRL checks require a license for HTTPBlackbox client package, and it will also cover certificate validation. If you expect LDAP to be referenced as a source of CRLs, you need a license for LDAPBlackbox as well.

Potentially you can write your own OCSP client and CRL retriever classes (including LDAP retriever) which will send requests to the remote location but it's more cost-effective to just license HTTPBlackbox rather than rewrite what we already have.


Sincerely yours
Eugene Mayevski
#30409
Posted: 08/18/2014 14:21:49
by ROWEL LIRAG (Standard support level)
Joined: 08/08/2014
Posts: 11

Would a license for SecureBlackBox Standard covers OCSP and CRL checks as well as PKI functions?
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

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