~ubuntu-branches/ubuntu/maverick/gnutls26/maverick-updates

« back to all changes in this revision

Viewing changes to lib/gnutls_x509.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2009-04-14 14:23:19 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090414142319-ok7xejzbqkofno1q
Tags: 2.6.5-1
* Sync sections in debian/control with override file. libgnutls26-dbg is
  section debug, guile-gnutls is section lisp.
* New upstream version. (Needed for Libtasn1-3 2.0)
* New patch 15_tasn1inpc.diff. Make sure libtasn1 is listed in Libs.private.
* Standards-Version: 3.8.1, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation
 
2
 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008 Free Software Foundation
3
3
 *
4
4
 * Author: Nikos Mavrogiannopoulos
5
5
 *
29
29
 
30
30
#define PEM_CERT_SEP2 "-----BEGIN X509 CERTIFICATE"
31
31
#define PEM_CERT_SEP "-----BEGIN CERTIFICATE"
32
 
#define PEM_PKCS7_SEP "-----BEGIN PKCS7"
33
32
 
34
33
#define PEM_CRL_SEP "-----BEGIN X509 CRL"
35
34
 
39
38
int _gnutls_check_key_usage (const gnutls_cert * cert,
40
39
                             gnutls_kx_algorithm_t alg);
41
40
 
42
 
int _gnutls_x509_read_rsa_params (opaque * der, int dersize, mpi_t * params);
43
 
int _gnutls_x509_read_dsa_pubkey (opaque * der, int dersize, mpi_t * params);
44
 
 
45
41
int _gnutls_x509_raw_privkey_to_gkey (gnutls_privkey * privkey,
46
42
                                      const gnutls_datum_t * raw_key,
47
43
                                      gnutls_x509_crt_fmt_t type);