Kahnan Patel <[email protected]> writes:

> Hi Sir,
>
> My name is Kahnan Patel and I need some help regarding:
>
> cdk_error_t cdk_pubkey_to_sexp (cdk_pkt_pubkey_t pk, char **sexp, size_t * 
> len);
> cdk_error_t cdk_seckey_to_sexp (cdk_pkt_seckey_t sk, char **sexp, size_t * 
> len);
>
>
>
> I just implement my code using this function and everything worked
> fine, but as you mention that you have already tested this function
> with libgcrypt to get key from key ring by it's id and use that key in
> this sexp and encrypt and decrypt.
>
> So if you can sent me that code or if you can just guid me how to
> convert ascii armor to "cdk_pkt_pubkey_t  pk" object then I will
> really appreciate this.

The OpenCDK library is (alas) no longer available as a separate package,
so you should first try to map the above APIs to GnuTLS functions.

/Simon

_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to