ISecurityContext Class Reference

List of all members.

Public Member Functions

virtual bool GetRequestDelegation ()=0
 Gets the state of whether delegation will be requested.
virtual bool GetRequestMutualAuthentication ()=0
 Gets the state of whether mutual authentication will be requested.
virtual AutoArrayPtr< simba_byteGetToken ()=0
 Gets a token to be sent to the party with which the security context is being established.
virtual void SetRequestDelegation (bool in_reqDelegation)=0
 Enables or disables this security context requesting delegation.
virtual void SetRequestMutualAuthentication (bool in_reqMutualAuth)=0
 Enables or disables this security context requesting mutual authentication.
virtual AutoArrayPtr< simba_byteUpdateToken (AutoArrayPtr< simba_byte > in_token)=0
 Processes the received token from the other party and possibly generates a new token to be sent back.
virtual ~ISecurityContext ()
 Destructor.

Protected Member Functions

 ISecurityContext ()
 constructor.

Constructor & Destructor Documentation

virtual ~ISecurityContext (  )  [inline, virtual]

Destructor.

ISecurityContext (  )  [inline, protected]

constructor.


Member Function Documentation

virtual bool GetRequestDelegation (  )  [pure virtual]

Gets the state of whether delegation will be requested.

Returns:
If delegation request is enabled or disabled.
virtual bool GetRequestMutualAuthentication (  )  [pure virtual]

Gets the state of whether mutual authentication will be requested.

Returns:
If mutual authentication request is enabled or disabled.
virtual AutoArrayPtr<simba_byte> GetToken (  )  [pure virtual]

Gets a token to be sent to the party with which the security context is being established.

This function is called only when initiating the security context establishment process. The following tokens received from the other party should be passed into UpdateToken().

Returns:
The token to be sent to the party with which the security context is being established.
virtual void SetRequestDelegation ( bool  in_reqDelegation  )  [pure virtual]

Enables or disables this security context requesting delegation.

Parameters:
reqDelegation Enable or disable delegation request.
Exceptions:
Exception if unable to set the request (or if called after the first token has been obtained through getToken)
virtual void SetRequestMutualAuthentication ( bool  in_reqMutualAuth  )  [pure virtual]

Enables or disables this security context requesting mutual authentication.

Parameters:
reqMutualAuth Enable or disable mutual authentication request.
Exceptions:
Exception if unable to set the request (or if called after the first token has been obtained through getToken)
virtual AutoArrayPtr<simba_byte> UpdateToken ( AutoArrayPtr< simba_byte in_token  )  [pure virtual]

Processes the received token from the other party and possibly generates a new token to be sent back.

Parameters:
in_token Token returned by the server.
Returns:
Output token to send back to the server; NULL if no token should be sent.

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:19 2017 for SimbaEngine 10.1.3.1011 by simba