EldoS | Feel safer!

Software components for data protection, secure storage and transfer

about ECC signature

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#17461
Posted: 09/08/2011 02:36:02
by Vsevolod Ievgiienko (EldoS Corp.)

There are a few descendants of TElPublicKeyMaterial class that are responsible for storing key material for particular public key encryption algorithms (TElRSAKeyMaterial for RSA algorithm, TElECKeyMaterial for ECC etc.). If you want to use ECC then you should use appropriate TElPublicKeyMaterial descendant.

So your code should look like:

Quote

TElECKeyMaterial KeyMaterial = new TElECKeyMaterial();
KeyMaterial.Generate(160);
...
#17462
Posted: 09/08/2011 02:36:38
by Eugene Mayevski (EldoS Corp.)

Well, if you read the support policy, you will read the following:
Quote

Please understand that use of EldoS products requires certain level of competence. We are unable to use our support service to instruct on basics of technology, computers, or software development.


This means that we can't and won't answer to the kind of questions like you've asked. You have Wikipedia for basic knowledge, and answers to questions "how to use class A' instead of class A''" is outside of scope of our support.


Sincerely yours
Eugene Mayevski
#17463
Posted: 09/08/2011 02:37:23
by Vsevolod Ievgiienko (EldoS Corp.)

Quote
Other, wehat is BTW a key??

A key is a sequence of bytes. It is binary data but not text.
#20305
Posted: 06/02/2012 03:24:52
by Jackman Liao (Basic support level)
Joined: 08/18/2011
Posts: 6

hi,
i I have a question, I want generate ECC signature key pair,
in the MS .net I can easy to do it as follow:

Code
using System.Security.Cryptography;
    Cryptography cngKey =  new Cryptography()
    CngKeyCreationParameters creationParameters = new    CngKeyCreationParameters();
    creationParameters.ExportPolicy = CngExportPolicies.AllowPlaintextExport;
    cngKey = CngKey.Create(CngAlgorithm.ECDsaP256, keyName, creationParameters);
    Public key as:
    publicKeyBytes = cngKey.Export(CngKeyBlobFormat.EccPublicBlob);
    secret key as:
    privateKeyBytes = cngKey.Export(CngKeyBlobFormat.EccPrivateBlob);


then, I try to generate key pair by using secureBlackBox as:

Code
Imports SBPublicKeyCrypto
    Dim KeyMaterial As New TElPublicKeyMaterial()
    KeyMaterial.BeginGenerate()
        ...


how can I do it then MS .net??
Please help me, thanks a lot!!
#20306
Posted: 06/02/2012 06:46:42
by Ken Ivanov (EldoS Corp.)

Vsevolod and Mykola had already described the entire generation process in detail above. Please use the TElECKeyMaterial class, not TElPublicKeyMaterial. After the generation has completed, you can export the key with SavePublic() and SaveSecret() methods of the TElECKeyMaterial object.
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 3338 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!