How to import and decrypt secure key and gpg file in linux using c

I have gpg file and secure key.i want decrypt gpg file by importing secure key using c in linux. which is the best way to achieve this.please provide some sample code in c.

1 Like