#include <XrdSecProtector.hh>
◆ lrType
Enumerator |
---|
isLcl | |
isRmt | |
isLR | |
◆ ~XrdSecProtector()
virtual XrdSecProtector::~XrdSecProtector |
( |
| ) |
|
|
inlinevirtual |
◆ XrdSecProtector()
XrdSecProtector::XrdSecProtector |
( |
| ) |
|
|
inlineprotected |
◆ Config() [1/2]
Configure protect for server-side use (not need for client)
- Parameters
-
lclParms | Reference to local client parameters. |
rmtParms | Reference to remote client parameters. |
logr | Reference to the message logging object. |
- Returns
- true upon success and false upon failure.
◆ Config() [2/2]
◆ LName()
Convert protection level to its corresponding name.
- Parameters
-
- Returns
- Pointer to the name of the level.
◆ New4Client()
Obtain a new instance of a protection object based on protocol response. This is meant to be used client-side.
- Parameters
-
aprot | Sets the authentication protocol used and is the protocol used to secure requests. It must be supplied. Security is meaningless unless successful authentication has occurred. |
inReqs | Reference to the security information returned in the kXR_protocol request. |
reqLen | The actual length of inReqs (is validated). |
- Returns
- Pointer to a security object upon success and nil if security is not needed.
◆ New4Server()
Obtain a new instance of a security object based on security setting for this object. This is meant to be used severt-side.
- Parameters
-
aprot | Sets the authentication protocol used and is the protocol used to secure requests. It must be supplied. |
plvl | The client's protocol level. |
- Returns
- Pointer to a security object upon success and nil if security is not needed.
◆ ProtResp()
Obtain the proper kXR_protocol response (server-side only)
- Parameters
-
resp | Reference to the place where the response is to be placed. |
nai | Reference to the client's network address. |
pver | Client's protocol version in host byte order. |
- Returns
- The length of the protocol response security information.
The documentation for this class was generated from the following file: