Definition at line 55 of file XrdVomsHttp.cc.
◆ XrdVomsHttp()
Definition at line 72 of file XrdVomsHttp.cc.
73 : vomsFun(vFun), eDest(erp) {};
◆ FreeSSL()
virtual int XrdVomsHttp::FreeSSL |
( |
SSL * |
| ) |
|
|
inlinevirtual |
◆ GetSecData()
Implements XrdHttpSecXtractor.
Definition at line 85 of file XrdVomsHttp.cc.
86{
88 int rc;
89
90
91
92
93
94 if (SSL_get_verify_result(ssl) != X509_V_OK) return 0;
95
96
97
98 xCerts.
cert = SSL_get_peer_certificate(ssl);
99 if (!xCerts.
cert)
return 0;
100 xCerts.chain = SSL_get_peer_cert_chain(ssl);
101
102
103
104 sec.
creds = (
char *)&xCerts;
105
106
107
108 if (!(rc = vomsFun.
VOMSFun(sec))) strcpy(sec.
prot,
"gsi");
109
110
111
112 X509_free(xCerts.
cert);
113
114
115
117 return rc;
118}
char prot[XrdSecPROTOIDSIZE]
Auth protocol used (e.g. krb5)
char * creds
Raw entity credentials or cert.
int VOMSFun(XrdSecEntity &ent)
References Voms_x509_in_t::cert, XrdSecEntity::creds, XrdSecEntity::prot, and XrdVomsFun::VOMSFun().
◆ Init()
virtual int XrdVomsHttp::Init |
( |
SSL_CTX * |
, |
|
|
int |
|
|
) |
| |
|
inlinevirtual |
◆ InitSSL()
virtual int XrdVomsHttp::InitSSL |
( |
SSL * |
ssl, |
|
|
char * |
cadir |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: