gpgme/lang/cl
Moritz Schulte c01087be85 2008-11-08 Moritz <moritz@gnu.org>
* gpgme.lisp (size-t): Wrong call to defctype: function accepts
	optional, not keyword argument.
	(ssize-t): Likewise.
	(off-t): Likewise.
	(gpgme-data-t, gpgme-ctx-t): Likewise.
	(gpgme-error-t): Likewise.
	(gpgme-error-no-signal-t): Likewise.
	(gpgme-err-code-t): Likewise.
	(gpgme-err-source-t): Likewise.
	(gpgme-sig-notation-t, gpgme-engine-info-t): Likewise.
	(gpgme-subkey-t): Likewise.
	(gpgme-key-sig-t): Likewise.
	(gpgme-user-id-t): Likewise.
	(gpgme-key-t): Likewise.
	(gpgme-data-cbs-t): Likewise.
	(gpgme-invalid-key-t): Likewise.
	(gpgme-op-encrypt-result-t): Likewise.
	(gpgme-recipient-t): Likewise.
	(gpgme-op-decrypt-result-t): Likewise.
	(gpgme-new-signature-t): Likewise.
	(gpgme-op-sign-result-t): Likewise.
	(gpgme-signature-t): Likewise.
	(gpgme-op-verify-result-t): Likewise.
	(gpgme-import-status-t): Likewise.
	(gpgme-op-import-result-t): Likewise.
	(gpgme-op-genkey-result-t): Likewise.
	(gpgme-op-keylist-result-t): Likewise.
2008-11-23 18:09:57 +00:00
..
ChangeLog 2008-11-08 Moritz <moritz@gnu.org> 2008-11-23 18:09:57 +00: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 2006-07-06 Marcus Brinkmann <marcus@g10code.de> 2006-07-06 10:37:52 +00: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.

*