EldoS | Feel safer!

Software components for data protection, secure storage and transfer

about ECC signature

Posted: 09/08/2011 02:36:02
by Vsevolod Ievgiienko (Team)

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:


TElECKeyMaterial KeyMaterial = new TElECKeyMaterial();
Posted: 09/08/2011 02:36:38
by Eugene Mayevski (Team)

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

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
Posted: 09/08/2011 02:37:23
by Vsevolod Ievgiienko (Team)

Other, wehat is BTW a key??

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

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

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:

Imports SBPublicKeyCrypto
    Dim KeyMaterial As New TElPublicKeyMaterial()

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

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.



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