Libgcrypt: Import and export of keys

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Libgcrypt: Import and export of keys



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,


CATIA Systems/Dymola R&D Development Manager

Office: +46 4 6270 6708
[hidden email]

3DS Logo


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

Gcrypt-devel mailing list
[hidden email]