xrootd
XrdCryptosslgsiX509Chain.hh
Go to the documentation of this file.
1 // $Id$
2 #ifndef __CRYPTO_SSLGSIX509CHAIN_H__
3 #define __CRYPTO_SSLGSIX509CHAIN_H__
4 /******************************************************************************/
5 /* */
6 /* X r d C r y p t o s s l g s i X 5 0 9 C h a i n . h h */
7 /* */
8 /* (c) 2005 G. Ganis , CERN */
9 /* */
10 /******************************************************************************/
11 
12 /* ************************************************************************** */
13 /* */
14 /* Chain of X509 certificates following GSI policy(ies). */
15 /* */
16 /* ************************************************************************** */
17 
19 
20 // ---------------------------------------------------------------------------//
21 // //
22 // XrdCryptosslgsiX509Chain //
23 // //
24 // Enforce GSI policies on X509 certificate chains //
25 // //
26 // ---------------------------------------------------------------------------//
27 
28 const int kOptsRfc3820 = 0x1;
29 
31 
32 public:
36 
37  // Verify chain
38  bool Verify(EX509ChainErr &e, x509ChainVerifyOpt_t *vopt = 0);
39 
40 private:
41 
42  // Proxy naming rules
43  bool SubjectOK(EX509ChainErr &e, XrdCryptoX509 *xcer);
44 };
45 
46 #endif