EldoS | Feel safer!

Software components for data protection, secure storage and transfer

RSAKeyMaterial

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#32203
Posted: 02/16/2015 07:10:45
by marco hagen (Standard support level)
Joined: 11/09/2013
Posts: 33

Hi Eldos,

I need to create a public cert (in PEM or so) from a Modules and Exponent I receive from a server in .Net

Code
<ds:RSAKeyValue>
  <ds:Modulus>AKPtIiFk1ybrhPbiSsvZZHO3................</ds:Modulus>
  <ds:Exponent>AQAB</ds:Exponent>
</ds:RSAKeyValue>


So far I've tried, encode strings to byte then load it up with TELRSAKeyMaterial.loadPublic(modules, ... ,exponent ..
Then savePublic but without success.

What am I doing wrong ?
#32204
Posted: 02/16/2015 07:22:38
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Quote
I need to create a public cert

Do you need to create a certificate or simply PEM encoded public key?
#32205
Posted: 02/16/2015 07:25:58
by Dmytro Bogatskyy (EldoS Corp.)

Hello,

You can use TELRSAKeyMaterial.LoadFromXML method to load a key from RSAKeyValue element.
#32206
Posted: 02/16/2015 08:03:57
by marco hagen (Standard support level)
Joined: 11/09/2013
Posts: 33

Hi,

I need a certificate.

LoadFromXML works great, now I need to assign the KM to a X509CertificateEx object to create a public certificate right?

Thanks,
Marco
#32208
Posted: 02/16/2015 08:19:04
by Vsevolod Ievgiienko (EldoS Corp.)

This article describes how to generate a certificate: https://www.eldos.com/documentation/sb...erate.html

You should have CA certificate and assing subject certificate properties before its generation.
#32211
Posted: 02/16/2015 09:46:18
by marco hagen (Standard support level)
Joined: 11/09/2013
Posts: 33

Requirements have slightly changed, now all is sorted with LoadFromXML.

Thanks for the quick answers all.

Cheers,
Marco
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 1903 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!