help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting keys for my own crtypto functions (opencdk)


From: Simon Josefsson
Subject: Re: Getting keys for my own crtypto functions (opencdk)
Date: Fri, 11 Jun 2010 16:28:17 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Kahnan Patel <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]