gpgme/lang/cl
2012-04-20 16:05:11 +02:00
..
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
gpgme-package.lisp 2006-07-06 Marcus Brinkmann <marcus@g10code.de> 2006-07-06 10:37:52 +00:00
gpgme.asd.in 2006-07-06 Marcus Brinkmann <marcus@g10code.de> 2006-07-06 10:37:52 +00:00
gpgme.lisp 2008-11-08 Moritz <moritz@gnu.org> 2008-11-23 18:09:57 +00:00
Makefile.am Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
README 2006-07-06 Marcus Brinkmann <marcus@g10code.de> 2006-07-06 10:37:52 +00:00

Common Lisp Support for GPGME
-----------------------------

Requirements:

ASDF		Packaging Support
CFFI		Foreign Function Interface
gpg-error	GPG Error Codes

Use with:

> (asdf:operate 'asdf:load-op ':gpgme)


Examples
--------

(with-open-file (stream "/tmp/myout" :direction :output
			:if-exists :supersede :element-type '(unsigned-byte 8))
  (with-context (ctx)
    (setf (armor-p ctx) t)
    (op-export ctx "DEADBEEF" out)))

(with-context (ctx)
  (with-output-to-string (out)
    (setf (armor-p ctx) t)
    (op-export ctx "McTester" out)))

(gpgme:with-context (ctx :armor t)
  (with-output-to-string (out)
    (gpgme:op-export ctx "McTester" out)))


TODO
----

* When GPGME defines macros for include cert values -2, -1, 0 and 1,
  define lisp macros for them as well.

*