xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XrdSecLoadSecurity.hh
Go to the documentation of this file.
1 #ifndef __XRDSECLOADSECURITY_HH__
2 #define __XRDSECLOADSECURITY_HH__
3 /******************************************************************************/
4 /* */
5 /* X r d S e c L o a d S e c u r i t y . h h */
6 /* */
7 /* (c) 2014 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* Produced by Andrew Hanushevsky for Stanford University under contract */
9 /* DE-AC02-76-SFO0515 with the Department of Energy */
10 /* */
11 /* This file is part of the XRootD software suite. */
12 /* */
13 /* XRootD is free software: you can redistribute it and/or modify it under */
14 /* the terms of the GNU Lesser General Public License as published by the */
15 /* Free Software Foundation, either version 3 of the License, or (at your */
16 /* option) any later version. */
17 /* */
18 /* XRootD is distributed in the hope that it will be useful, but WITHOUT */
19 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
20 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
21 /* License for more details. */
22 /* */
23 /* You should have received a copy of the GNU Lesser General Public License */
24 /* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
25 /* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
26 /* */
27 /* The copyright holder's institutional names and contributor's names may not */
28 /* be used to endorse or promote products derived from this software without */
29 /* specific prior written permission of the institution or contributor. */
30 /******************************************************************************/
31 
33 
34 //------------------------------------------------------------------------------
38 //------------------------------------------------------------------------------
39 
40 /******************************************************************************/
41 /* X r d S e c L o a d S e c F a c t o r y */
42 /******************************************************************************/
43 
44 //------------------------------------------------------------------------------
61 //------------------------------------------------------------------------------
62 
64  int eBlen,
65  const char *seclib=0);
66 
67 /******************************************************************************/
68 /* X r d S e c G e t P r o t e c t i o n */
69 /******************************************************************************/
70 
71 class XrdSecProtect;
72 class XrdSecProtector;
74 
75 //------------------------------------------------------------------------------
90 //------------------------------------------------------------------------------
91 
93  XrdSecProtocol &aprot,
95  unsigned int resplen);
96 
97 /******************************************************************************/
98 /* X r d S e c L o a d S e c S e r v i c e */
99 /******************************************************************************/
100 
101 //------------------------------------------------------------------------------
121 //------------------------------------------------------------------------------
122 
123 class XrdSysError;
124 
126  const char *cfn,
127  const char *seclib=0,
128  XrdSecGetProt_t *getP=0,
129  XrdSecProtector **proP=0);
130 #endif
Definition: XProtocol.hh:1182
Definition: XrdSecInterface.hh:551
Definition: XrdSecInterface.hh:130
XrdSecProtocol *(* XrdSecGetProt_t)(const char *, XrdNetAddrInfo &, XrdSecParameters &, XrdOucErrInfo *)
Typedef to simplify the encoding of methods returning XrdSecProtocol.
Definition: XrdSecInterface.hh:481
Definition: XrdSecProtect.hh:55
Definition: XrdSysError.hh:89
Definition: XrdSecProtector.hh:72
XrdSecGetProt_t XrdSecLoadSecFactory(char *eBuff, int eBlen, const char *seclib=0)
int XrdSecGetProtection(XrdSecProtect *&protP, XrdSecProtocol &aprot, ServerResponseBody_Protocol &resp, unsigned int resplen)
XrdSecService * XrdSecLoadSecService(XrdSysError *eDest, const char *cfn, const char *seclib=0, XrdSecGetProt_t *getP=0, XrdSecProtector **proP=0)