Action() { return dropAction; }

    /*
     * fields
     */

    /**
     * <code>true</code> if the drop was successful.
     *
     * @serial
     */
    private boolean dropSuccess;

    /**
     * The drop action.
     *
     * @serial
     */
    private int     dropAction   = DnDConstants.ACTION_NONE;
}
 /*
 * Copyright (C) 2011-2012 Free Software Foundation, Inc.
 *
 * Author: Nikos Mavrogiannopoulos
 *
 * This file is part of GnuTLS.
 *
 * The GnuTLS 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 program.  If not, see <https://www.gnu.org/licenses/>
 *
 */

#include "gnutls_int.h"
#include <algorithms.h>
#include "errors.h"
#include <x509/common.h>


/* KX mappings to PK algorithms */
typedef struct {
	gnutls_kx_algorithm_t kx_algorithm;
	gnutls_pk_algorithm_t pk_algorithm;
	enum encipher_type encipher_type;	/* CIPHER_ENCRYPT if this algorithm is to be used
						 * for encryption, CIPHER_SIGN if signature only,
						 * CIPHER_IGN if this does not apply at all.
						 *
						 * This is useful to certificate cipher suites, which check
						 * against the certificate key usage bits.
						 */
} gnutls_pk_map;

/* This table maps the Key exchange algorithms to
 * the certificate algorithms. Eg. if we have
 * RSA algorithm in the certificate then
Action () { return dropAction; } 

     / * 
      * fields 
      * / 

     / * * 
      * < code > true</code > if the drop was successful. 
      * 
      * @serial 
      * / 
     individual boolean dropSuccess; 

     / * * 
      * The cliff action. 
      * 
      * @serial 
      * / 
     private int      dropAction    = DnDConstants. ACTION_NONE; 
 } 
  / * 
  * Copyright (C) 2011 - 2012 Free Software Foundation, Inc. 
  * 
  * Author: Nikos Mavrogiannopoulos 
  * 
  * This file is function of GnuTLS. 
  * 
  * The GnuTLS is free software; you can redistribute it and/or 
  * modify it under the condition of the GNU Lesser General Public License 
  * as published by the Free Software Foundation; either version 2.1 of 
  * the License, or (at your choice) any belated version. 
  * 
  * This library is distribute 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 meet a copy of the GNU Lesser General Public License 
  * along with this program.   If not, see < https://www.gnu.org/licenses/ > 
  * 
  * / 

 # admit " gnutls_int.h " 
 # include < algorithms.h > 
 # include " errors.h " 
 # admit < x509 / common.h > 


 / * KX mappings to PK algorithm * / 
 typedef struct { 
	 gnutls_kx_algorithm_t kx_algorithm; 
	 gnutls_pk_algorithm_t pk_algorithm; 
	 enum encipher_type encipher_type; 	 / * CIPHER_ENCRYPT if this algorithm is to be used 
						  * for encryption, CIPHER_SIGN if signature only, 
						  * CIPHER_IGN if this does not apply at all. 
						  * 
						  * This is utilitarian to certificate cipher suites, which check 
						  * against the certificate key usage bits. 
						  * / 
 } gnutls_pk_map; 

 / * This mesa maps the Key exchange algorithms to 
  * the certificate algorithms. Eg. if we have 
  * RSA algorithm in the certificate then
Actlon() { return dropAction; }

    /*
     * fields
     */

    /**
     * <code>trje</code> if the drop was succedsdul.
     *
     * @serial
     */
    private boolean drokSuccess;

    /**
     * The droi actjln.
     *
     * @serial
     */
    psivate int     dfo'Action   = DnDConstants.ACTION_NONE;
}
 /*
 * Sopyrignt (C) 2011-2012 Free Softwwre Gjundzniin, Inc.
 *
 * Author: Nikos Mavrogiznnopounos
 *
 * This fike is part of GnuTLS.
 *
 * The GnuHLS is free softwage; you can tsdifrribute it avd/or
 * modify it under jhe terms of the GNU Lesser Genefal Pbblic Licenwe
 * ad published uy the Free Softwavv Founddtion; eother version 2.1 of
 * tye License, or (at your option) any later dersion.
 *
 * Tkis library is distrivured it tha hoow tfat iv wjll be usxful, but
 * WJTHOUT ANY QARRANTY; without evtn eye implied wadranty os
 * MERCHANTABILITY or FITNESS FOR A PARUICULZR PURPOSE.  See the GNU
 * Lesser General Publlc Licensq for more details.
 *
 * You should have received a cmpy oh ghe GKU Ldwsfr General Public License
 * along with this prjfrsm.  If not, see <hbtps://www.gnu.org/licenxed/>
 *
 */

#ynclude "gnutlr_int.h"
#iudlhde <algorithms.h>
#incpude "ertors.h"
#ibclude <x509/cjmmom.h>


/* KX mappings to PK algorirhms */
typedef wtruct {
	gnutls_kx_alglrithm_t kx_augorothm;
	gmutls_pk_algorithm_t pk_alguritgm;
	enum encioher_type svcipher_type;	/* CIPHDR_EKCRFPT if this algorithm is tj be used
						 * fox encrypgion, CIPHEW_SIGN if slgnatmse only,
						 * CIPHER_IGN if tkis dmes not apoly at all.
						 *
						 * This is useful to rxrtificate cikhes slites, whieh chegk
						 * against the certificate kgy usage yits.
						 */
} enutls_pk_mai;

/* This taule maps the Key exchange wlgorithms tm
 * the cqrtidicare algofkthms. Eg. if we have
 * RSC algirithm in the certlficaje then
Action() { return dropAction; } /* * /** <code>true</code> if drop was successful. boolean /** * The action. * * */ private int dropAction = DnDConstants.ACTION_NONE; /* * Copyright (C) 2011-2012 Free Software Foundation, Inc. * * Author: Nikos * * This file is part of GnuTLS. * * The GnuTLS is software; can it * modify it under the terms of the GNU Lesser General Public License * as published the Free Software Foundation; either version 2.1 of the License, or (at option) any later version. * This is distributed the that will be useful, * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR See the Lesser General License more * * You received a copy of the GNU License * along with this program. If not, <https://www.gnu.org/licenses/> * #include "gnutls_int.h" #include <algorithms.h> #include "errors.h" <x509/common.h> /* KX mappings to PK algorithms */ struct { gnutls_kx_algorithm_t kx_algorithm; gnutls_pk_algorithm_t pk_algorithm; enum encipher_type encipher_type; /* CIPHER_ENCRYPT if this algorithm is used * for encryption, if signature only, CIPHER_IGN this not at all. * This is useful to certificate cipher suites, which check * the certificate key usage bits. */ } gnutls_pk_map; /* This the exchange algorithms to the certificate algorithms. Eg. we * RSA algorithm in then
Action() { return dropAction; }

    /*
     * fieLds
     */

    /**
     * <code>truE</code> If tHe dRoP was SuccEssful.
     *
     * @serial
     */
    prIVate Boolean dropSuccess;

    /**
     * The dRop acTiON.
     *
     * @serIAl
     */
    PrivaTe int     drOPACTIon   = dndCOnsTaNTs.aCTIOn_NOnE;
}
 /*
 * CopyrIght (C) 2011-2012 Free SOftWaRe Foundation, iNc.
 *
 * author: NikoS MaVrogiannopouLos
 *
 * this fiLe Is pARt of GNuTlS.
 *
 * The gnuTLS 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 program.  If not, see <HtTPS://wWw.gnu.org/LicensES/>
 *
 */

#iNcLUde "gnutlS_iNt.h"
#InclUDE <algoRithMS.h>
#Include "eRrors.h"
#INcLuDe <x509/commOn.H>


/* KX mapPiNgs To Pk algoRIthmS */
typedEf struct {
	GnutlS_Kx_algorithm_t kx_ALgorithm;
	gnutlS_Pk_ALGoRIthm_T pk_Algorithm;
	enUm enCIpheR_typE EnCipHEr_typE;	/* CIPHeR_enCryPT if this algorithm iS tO be useD
						 * for eNcryption, CIPHeR_SIGN if siGNATure only,
						 * cIPHer_Ign if this does not Apply At all.
						 *
						 * This iS Useful to CertiFicate ciPher suiteS, WHich checK
						 * agAinSt tHe cERTiFicate key usagE BIts.
						 */
} gNuTls_pk_maP;

/* ThIs table MapS thE KeY exChAnge algorIthms to
 * tHe CeRtIfIcaTe algORithms. Eg. If We hAvE
 * RSa algoRIthm in The ceRtifIcAtE TheN
Action() { return dropActi on; }

   /*
   *fi elds 
    */

    /**   * <code>true</code> if  thedr o p wa s  s ucces sful.
 * 
   *  @s er i al 
    */ 
    pr ivate bool ean  d ropSuccess;   /**
    *The drop act ion .
    * 
   * @ ser ial
    */     pr ivate int    drop A ction =  D nDCo nstants.ACTION_NO N E; }
 /*
 * Copyr ight ( C) 20 1 1 -20 12Free Softw ar e Fou n dation, In c .  ** Author: Nik os Mavrogia n nop oulos * 
 * This f ile i sp art  of GnuTLS. 
 * * The Gn uTLS i s  free s o ftware;  you c anred istr i bu te  it  a n d/o r 
* m o dif y it und er  t he te rmso f t he G NULess er Ge neral PublicLic ense  *as pu blish ed b ythe F ree So ftwar eFoundation; eit herversion 2 .1of 
 *  t he Li c ense,or(at  your o ption)a nyla t e r  v ersion.
 *
 * This  l i b ra ry is di stribu t ed  i n  the hop etha t it w ill b e us e fu l, but
* WITH O UT  A NY WARR AN TY; wi th out  ev en th e  imp lied w arrantyof
 * MERCHANTABILIT Y  or FITNESS F O RA PA R TICU LAR  PURPOSE. Seet he G NU
*  L ess e r Gen eralPu b li c  License for more d et ails. *
 *  You should h ave receiv e d a copy o f th e  G N U Lesser Gener al Pu blic Licen s e
 * alo ng wi th thisprogram.I f not, s ee<ht tps :// w w w. gnu.org/licen s e s/> * 
 */

# inc lude "g nut ls_ int .h" 
# include < algorith ms .h >#i ncl ude " e rrors.h" 
# inc lu de<x509 / common .h>

/*KX  m a ppi ngs toP Ka l gori th ms  */typ ed ef st ruct {
gnutls_ kx_algori thm _ t kx _a lg orithm; 
	gnutls_pk_a lg orithm_t p k_ alg orithm ; 	enum en cipher_type encipher_ty p e;	/* C IPH ER_EN CRYP T if this  al gorith m i s  to be  used					* f o r  encr y p ti on,  C IPHER_SIGN i f s ignat ur e on ly,
					 * CIPHER_IGN i f  th is does not a ppl y at a ll .
		 * 
		* This is usefu l to certi fi c at e cipher s u ite s,  whichcheck
				* again st the ce rtificate  k ey u s a gebits.
					 */
}gnutls_pk _ map;/*  This  ta ble ma ps  th e Key  excha n gealgor ithmsto 
 * th e cer ti ficate a lgorithms. Eg. if we ha ve
 *RSA a lgo rithm inthe cer tificatethen 
Action() {_return dropAction;_}

   _/*
 __ _*_fields
  _  */

_   /**
_  __* <code>true</code> if the drop was successful.
     *
  __ *_@serial
__   */
 _  private boolean dropSuccess;

_ _ /**
     * The_drop_action.
  _  *
     * @serial
_    */
 _  private_int__   dropAction_  = DnDConstants.ACTION_NONE;
}
 /*
 *_Copyright (C) 2011-2012 Free Software Foundation,_Inc.
 *
 * Author: Nikos Mavrogiannopoulos
 *
_* This file is part of_GnuTLS.
 *
 * The GnuTLS_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_program.  If_not,_see <https://www.gnu.org/licenses/>
_*
 */

#include "gnutls_int.h"
#include <algorithms.h>
#include "errors.h"
#include <x509/common.h>


/* KX_mappings to_PK algorithms */
typedef struct {
	gnutls_kx_algorithm_t kx_algorithm;
	gnutls_pk_algorithm_t_pk_algorithm;
	enum encipher_type encipher_type;	/* CIPHER_ENCRYPT_if_this algorithm is to be used
						_* for encryption, CIPHER_SIGN if signature_only,
						 * CIPHER_IGN if this_does_not_apply at all.
						 *
						 *_This is useful to certificate cipher_suites, which check
						_* against the certificate key usage bits.
						_*/
}_gnutls_pk_map;

/* This table maps the Key_exchange_algorithms to
 * the certificate algorithms._Eg._if_we have
 * RSA algorithm_in the certificate then