XrdSecLoadSecurity.hh File Reference
#include "XrdSec/XrdSecInterface.hh"
Go to the source code of this file.
Function Documentation
Obtain an instance of a security protection object based on the kXR_protocol response. This is only used client-side.
- Parameters:
-
| protP | Place where the protection object point is placed. |
| aprot | Uses the authentication protocol to protect requests. It must be supplied and must be he protocol the client used for authentication. Hence, authentication must occur first. |
| resp | Reference to the response body returned by kXR_protocol. |
| resplen | Length of the response body. |
- Returns:
- >0 pointer to the protect object placed in protP.
-
=0 No protection is needed, protP set to zero.
-
<0 An error occured getting the protection object the return value is -errno and protP has been set to zero.
XrdSecGetProt_t XrdSecLoadSecFactory |
( |
char * |
eBuff, |
|
|
int |
eBlen, |
|
|
const char * |
seclib = 0 | |
|
) |
| | |
This include file defines utility functions that load the security framework plugin specialized for server-side or client-side use. These functions are public and remain ABI stable! Load the Security Protocol Factory (used client-side)
- Parameters:
-
| eBuff | Pointer to a buffer tat is to receive any messages. Upon failure it will contain an eror message. Upon success it will contain an informational message that describes the version that was loaded. |
| eBlen | The length of the eBuff, it should be at least 1K to avoid message truncation as the message may have a path. |
| seclib | Pointer to the shared library path that contains the framework implementation. If a nill pointer is passed, then the default library is used. |
- Returns:
- !0 Pointer to the to XrdSegGetProtocol() function is returned. returned in getP if it is not nil.
-
=0 The security frmaework could not be loaded. The error message describing the problem is in eBuff.