der.h errors.h gstr.h parser_aux.h element.h \
errors_int.h int.h mem.h structure.h \
\
- common.h mpi.h rfc2818.h verify.h compat.h \
+ common.h mpi.h rfc2818.h compat.h \
extensions.h privkey.h \
\
gnutls_extra.h openssl_compat.h \
#include <gnutls_x509.h>
#include "x509/common.h"
#include "x509/x509_int.h"
-#include "x509/verify.h"
#include "x509/mpi.h"
#include "x509/privkey.h"
#include "read-file.h"
#include <gnutls_errors.h>
#include <gnutls_openpgp.h>
#include <gnutls_num.h>
-#include <x509/verify.h> /* lib/x509/verify.h */
/**
dsa.c rfc2818_hostname.c verify.c mpi.c privkey.c pkcs7.c \
crq.c sign.c privkey_pkcs8.c pkcs12.c pkcs12_bag.c \
pkcs12_encr.c x509_write.c crl_write.c common.h x509_int.h \
- extensions.h verify.h mpi.h privkey.h pkcs12.h rfc2818.h \
- output.c
+ extensions.h mpi.h privkey.h pkcs12.h rfc2818.h output.c
EXTRA_DIST = x509-api.texi
#include <x509_int.h>
#include <mpi.h>
#include <extensions.h>
-#include <verify.h>
static int _gnutls_asn1_encode_rsa (ASN1_TYPE * c2, mpi_t * params);
int _gnutls_asn1_encode_dsa (ASN1_TYPE * c2, mpi_t * params);
#include <x509_int.h>
#include <mpi.h>
#include <common.h>
-#include <verify.h>
/* Writes the digest information and the digest in a DER encoded
* structure. The digest info is allocated and stored into the info structure.
#include <x509_int.h>
#include <mpi.h>
#include <common.h>
-#include <verify.h>
static int _gnutls_verify_certificate2 (gnutls_x509_crt_t cert,
const gnutls_x509_crt_t * trusted_cas,
+++ /dev/null
-/*
- * Copyright (C) 2003, 2004, 2005, 2008 Free Software Foundation
- *
- * Author: Nikos Mavrogiannopoulos
- *
- * This file is part of GNUTLS.
- *
- * The GNUTLS library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- * USA
- *
- */
-
-#include "x509_int.h"
-
-int gnutls_x509_crt_is_issuer (gnutls_x509_crt_t cert,
- gnutls_x509_crt_t issuer);
-int _gnutls_x509_verify_signature (const gnutls_datum_t * tbs,
- const gnutls_datum_t * signature,
- gnutls_x509_crt_t issuer);
-int _gnutls_x509_privkey_verify_signature (const gnutls_datum_t * tbs,
- const gnutls_datum_t * signature,
- gnutls_x509_privkey_t issuer);
#include <libtasn1.h>
#include <mpi.h>
#include <privkey.h>
-#include <verify.h>
/**
* gnutls_x509_crt_init - This function initializes a gnutls_x509_crt_t structure
/* dsa.c */
int _gnutls_dsa_generate_params (mpi_t * resarr, int *resarr_len, int bits);
+
+/* verify.c */
+int gnutls_x509_crt_is_issuer (gnutls_x509_crt_t cert,
+ gnutls_x509_crt_t issuer);
+int _gnutls_x509_verify_signature (const gnutls_datum_t * tbs,
+ const gnutls_datum_t * signature,
+ gnutls_x509_crt_t issuer);
+int _gnutls_x509_privkey_verify_signature (const gnutls_datum_t * tbs,
+ const gnutls_datum_t * signature,
+ gnutls_x509_privkey_t issuer);
+
#endif