00001 #ifndef ___XRD_VOMS_H___ 00002 #define ___XRD_VOMS_H___ 00003 /******************************************************************************/ 00004 /* */ 00005 /* X r d V o m s . h h */ 00006 /* */ 00007 /* (C) 2013 G. Ganis, CERN */ 00008 /* */ 00009 /* All rights reserved. The copyright holder's institutional names may not */ 00010 /* be used to endorse or promote products derived from this software without */ 00011 /* specific prior written permission. */ 00012 /* */ 00013 /* This file is part of the VOMS extraction XRootD plug-in software suite, */ 00014 /* here after called VOMS-XRootD (see https://github.com/gganis/voms). */ 00015 /* */ 00016 /* VOMS-XRootD is free software: you can redistribute it and/or modify it */ 00017 /* under the terms of the GNU Lesser General Public License as published by */ 00018 /* the Free Software Foundation, either version 3 of the License, or (at */ 00019 /* your option) any later version. */ 00020 /* */ 00021 /* VOMS-XRootD is distributed in the hope that it will be useful, but */ 00022 /* WITHOUT ANY WARRANTY, not even the implied warranty of MERCHANTABILITY or */ 00023 /* FITNESS FOR A PARTICULAR PURPOSE. */ 00024 /* See the GNU Lesser General Public License for more details. */ 00025 /* */ 00026 /* You should have received a copy of the GNU Lesser General Public License */ 00027 /* along with VOMS-XRootD in a file called COPYING.LGPL (LGPL license) and */ 00028 /* file COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */ 00029 /* */ 00030 /******************************************************************************/ 00031 00032 00033 #include "voms/voms_api.h" 00034 #include "openssl/x509.h" 00035 #include "openssl/pem.h" 00036 00037 // Structure for interpreting input to the VOMS function when format is set to 00038 // STACK_OF(X509) 00039 typedef struct { 00040 X509 *cert; 00041 STACK_OF(X509) *chain; 00042 } Voms_x509_in_t; 00043 00044 #endif