Libgcrypt: Import and export of keys

LUNDBERG Peter Peter.LUNDBERG at 3ds.com
Fri Feb 24 16:39:16 CET 2017


Hello,
I'm new to Libgcrypt and when browsing the reference manual I cannot see how to perform the following scenarios regarding public key encryption:


1.       Given a private/public key in a byte array, how to import them into an S-Expression?

2.       Given an S-expression with a private/public key, how to export them into a byte array?

Best Regards,

Peter LUNDBERG

CATIA Systems/Dymola R&D Development Manager





Office: +46 4 6270 6708
peter.lundberg at 3ds.com<mailto:peter.lundberg at 3ds.com>

[3DS Logo]

3DS.COM/CATIA<http://www.3ds.com/CATIA>


Dassault Systemes AB | IDEON Gateway Scheelevägen 27 | | Sweden





This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20170224/a586980f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 898 bytes
Desc: image001.jpg
URL: </pipermail/attachments/20170224/a586980f/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7915 bytes
Desc: image002.png
URL: </pipermail/attachments/20170224/a586980f/attachment-0001.png>


More information about the Gcrypt-devel mailing list