doc update
[gnutls.git] / guile / modules / gnutls / extra.scm
blob4191c5a33a5f7cd1813b031caa659762bbef5020
1 ;;; GnuTLS-extra --- Guile bindings for GnuTLS-EXTRA.
2 ;;; Copyright (C) 2007-2012 Free Software Foundation, Inc.
3 ;;;
4 ;;; GnuTLS-extra is free software; you can redistribute it and/or modify
5 ;;; it under the terms of the GNU General Public License as published by
6 ;;; the Free Software Foundation; either version 3 of the License, or
7 ;;; (at your option) any later version.
8 ;;;
9 ;;; GnuTLS-extra is distributed in the hope that it will be useful,
10 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ;;; GNU General Public License for more details.
13 ;;;
14 ;;; You should have received a copy of the GNU General Public License
15 ;;; along with GnuTLS-EXTRA; if not, write to the Free Software
16 ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17 ;;; USA.
19 ;;; Written by Ludovic Courtès <ludo@gnu.org>
21 (define-module (gnutls extra)
23   :use-module (gnutls)
25   :re-export (;; OpenPGP keys
26            openpgp-certificate? openpgp-private-key?
27            import-openpgp-certificate import-openpgp-private-key
28            openpgp-certificate-id openpgp-certificate-id!
29            openpgp-certificate-fingerprint openpgp-certificate-fingerprint!
30            openpgp-certificate-name openpgp-certificate-names
31            openpgp-certificate-algorithm openpgp-certificate-version
32            openpgp-certificate-usage
34            ;; OpenPGP keyrings
35            openpgp-keyring? import-openpgp-keyring
36            openpgp-keyring-contains-key-id?
38            ;; certificate credentials
39            set-certificate-credentials-openpgp-keys!
41            ;; enum->string functions
42            openpgp-certificate-format->string
44            ;; enum values
45            openpgp-certificate-format/raw
46            openpgp-certificate-format/base64))
50 ;;;
51 ;;; This module will be removed in a future version.
52 ;;;
54 (issue-deprecation-warning
55  "The (gnutls extra) module is deprecated; use (gnutls) instead")
58 ;;;
59 ;;; Aliases kept for backward compatibility with GnuTLS 2.0.x.  These aliases
60 ;;; are deprecated in 2.2 and should be removed in 2.4.x.
61 ;;;
63 (define-public openpgp-public-key? openpgp-certificate?)
64 (define-public import-openpgp-public-key import-openpgp-certificate)
65 (define-public openpgp-public-key-id openpgp-certificate-id)
66 (define-public openpgp-public-key-id! openpgp-certificate-id!)
67 (define-public openpgp-public-key-fingerprint openpgp-certificate-fingerprint)
68 (define-public openpgp-public-key-fingerprint! openpgp-certificate-fingerprint!)
69 (define-public openpgp-public-key-name openpgp-certificate-name)
70 (define-public openpgp-public-key-names openpgp-certificate-names)
71 (define-public openpgp-public-key-algorithm openpgp-certificate-algorithm)
72 (define-public openpgp-public-key-version openpgp-certificate-version)
73 (define-public openpgp-public-key-usage openpgp-certificate-usage)
75 (define-public openpgp-key-format->string openpgp-certificate-format->string)
76 (define-public openpgp-key-format/raw openpgp-certificate-format/raw)
77 (define-public openpgp-key-format/base64 openpgp-certificate-format/base64)
80 ;;; Local Variables:
81 ;;; mode: scheme
82 ;;; coding: latin-1
83 ;;; End: