[Help-gnutls] gnutls x509 library to get a rsa encryption

jerome etienne jme at off.net
Mon Sep 26 21:09:08 CEST 2005


Hello,

I would like to do encryption/decryption based on a x509 certificate, i 
looked at the documentation of the x509 library and failed to find a 
function for it. Is there a function that i missed ? some existing 
source code that i could look at ? any suggestion ?

i looked at the gnutls 1.2.7 source and, in lib/gnutls_pk.c, found
_gnutls_pkcs1_rsa_encrypt() which is exactly what im looking for. is 
this functions exported and i missed it ?

	thanks





More information about the Gnutls-help mailing list