EldoS | Feel safer!

Software components for data protection, secure storage and transfer

have a question of signature with ECDSA

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#25556
Posted: 07/07/2013 21:41:08
by denny chen (Basic support level)
Joined: 06/30/2013
Posts: 3

Hi,
I would like to signature with ECDSA ,
but I cant find a function to get password for ECDSA like this:

Code
if (KeyMaterial is TElRSAKeyMaterial)
  {
    ((TElRSAKeyMaterial)(KeyMaterial)).Passphrase = tbPassphrase.Text;
  }
else if (KeyMaterial is TElDSAKeyMaterial)
  {
    ((TElDSAKeyMaterial)(KeyMaterial)).Passphrase = tbPassphrase.Text;
  }


help me to resolve this question
thanks very much
#25557
Posted: 07/08/2013 02:31:41
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. If you have a license, please assign license ticket to your account before we continue.

Passphrase property is used for loading secret key from PEM or PKCS#8 enveloped container. And yes, for EC keys there is no support for this operation - you should load it from ASN.1 DER-encoded key structure.
#25600
Posted: 07/09/2013 22:27:52
by denny chen (Basic support level)
Joined: 06/30/2013
Posts: 3

Hi,
thanks you answer for me
and I have some questions:

1. What else method could input a password to verify EC keys ?
2. If I have a license, what I can get? (more class data? or some codes for my problem?)
3. About license, should I just select PKIBlackbox package for my problem?

Please answer and thanks a lot.
#25604
Posted: 07/10/2013 03:28:47
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Password doesn't verify any key, it can be used to decrypt key which is stored in container.
It depends on which format you store your key - PEM, PKCS#8 or whatever else.

Actually, without license you can only evaluate SecureBlackbox, and cannot use it in any other way.

If you need just public-key encryption/decryption, PKIBlackbox should be enough.
#25625
Posted: 07/11/2013 00:48:40
by denny chen (Basic support level)
Joined: 06/30/2013
Posts: 3

Ok,
and could you provide encryption/decryption & signature/verify demo code with ECDSA algorithm for me if I have a license.
#25631
Posted: 07/11/2013 03:30:41
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Please specify what exact signature/encryption type do you need.
Our MessagesDemo allows to sign/verify and encrypt/decrypt files using the PKCS#7/CMS. Also you can use ECDSA with PGP.
Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.

Reply

Statistics

Topic viewed 943 times

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




|

Back to top

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

Got it!