EldoS | Feel safer!

Software components for data protection, secure storage and transfer

about ECC signature

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#17363
Posted: 08/25/2011 22:46:51
by Jackman Liao (Basic support level)
Joined: 08/18/2011
Posts: 6

Please help
How to sign a ECC signature on Wince platform?
thanks a lot
#17365
Posted: 08/26/2011 04:01:09
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

There is a bunch of different standards utilizing ECC, from lower-level profiles up to high-level XML-SIG, CAdES and OpenPGP. Please let us know *what* are you willing to sign, as well as *in what form* is your ECC key stored to let us provide you with a relevant answer.
#17435
Posted: 09/04/2011 21:36:43
by Jackman Liao (Basic support level)
Joined: 08/18/2011
Posts: 6

Thank you very much reply to me
First I explain my execution environment, I use your sample code as SecureBlackbox.NET \ Samples \ VB.NET \ PKIBlackbox \ Primitives \ SignDetached in WINCE environment, but I encountered two problems
first: Suppose that I use the certificate to sign, how do I generate ECC algorithm certificate??
Second: Suppose that I use "generic key", how do I generate key pair??
the source code as attachment
thanks a lot:)


[ Download ]
#17437
Posted: 09/05/2011 01:32:24
by Vsevolod Ievgiienko (EldoS Corp.)

Hello.

Quote
first: Suppose that I use the certificate to sign, how do I generate ECC algorithm certificate??

The sample of certificates generation can be found in \EldoS\SecureBlackbox.NET\Samples\VB.NET\PKIBlackbox\CertDemo folder.

Quote
Second: Suppose that I use "generic key", how do I generate key pair??

You can generate ECC key-pair using TElECKeyMaterial and its Generate() method.
#17442
Posted: 09/06/2011 00:54:24
by Jackman Liao (Basic support level)
Joined: 08/18/2011
Posts: 6

hi, thank you very much reply to me:

how length(bits) of ECC signature by using securebox??
and how the security level of ECC signature by using securebox??

thanks a lot:)
#17443
Posted: 09/06/2011 02:29:08
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. SBB supports all NIST-recommended curves (up to 512 bits for prime field, and up to 571 bit for binary field). Also you can use any custom curve with SBB.
About the security level of ECC signature you can read at Wikipedia: http://en.wikipedia.org/wiki/Elliptic_curve_cryptography
#17456
Posted: 09/08/2011 00:28:22
by Eugene Mayevski (EldoS Corp.)

Please use English.


Sincerely yours
Eugene Mayevski
#17458
Posted: 09/08/2011 01:41:38
by Jackman Liao (Basic support level)
Joined: 08/18/2011
Posts: 6

hi sorry:

i want to generate ecc key pair which, my C# code as

TElPublicKeyMaterial KeyMaterial = null;
KeyMaterial = new TElRSAKeyMaterial();
KeyMaterial.Generate(160);
KeyMaterial.SaveSecret(new
FileStream("secretkey.txt",FileMode.CreateNew));

but the Contents is empty why?? :(
Please advice me thanks
#17459
Posted: 09/08/2011 01:56:53
by Vsevolod Ievgiienko (EldoS Corp.)

Hello.

First of all you should use TElECKeyMaterial for ECC instead of TElRSAKeyMaterial. TElRSAKeyMaterial is used for RSA algorithm.

Try to rewrite you code like this:

Code
...
FileStream FS = new FileStream("secretkey.txt",FileMode.CreateNew);
try
{
  KeyMaterial.SaveSecret(FS);
}
finally
{
  FS.Close();
}


BTW a key is not saved as text, so *.txt extension is not appropriate.
#17460
Posted: 09/08/2011 02:25:27
by Jackman Liao (Basic support level)
Joined: 08/18/2011
Posts: 6

sorry, i am beginner

how to reached "use TElECKeyMaterial for ECC instead of TElRSAKeyMaterial."
Other, wehat is BTW a key??

Please advice me thanks
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

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