vpnengine/ikev1lib/inc/ikev1crack.h
branchRCL_3
changeset 46 29c8f9bc68e1
parent 41 e06095241a65
child 49 5960d2d03390
equal deleted inserted replaced
44:735de8341ce4 46:29c8f9bc68e1
    48  *  CAuthDialogInfo class
    48  *  CAuthDialogInfo class
    49  *
    49  *
    50  *---------------------------------------------------------------------------*/
    50  *---------------------------------------------------------------------------*/
    51 #define DIALOG_INFO_ID        0xfedcba98
    51 #define DIALOG_INFO_ID        0xfedcba98
    52 #define XAUTH_DIALOG_ID       0x76543210
    52 #define XAUTH_DIALOG_ID       0x76543210
       
    53 #define ERROR_DIALOG_ID       0x87654321
    53 
    54 
    54 class CIkev1Negotiation;
    55 class CIkev1Negotiation;
    55 class TNotificationISAKMP;
    56 class TNotificationISAKMP;
    56 class TCHREISAKMP;
    57 class TCHREISAKMP;
    57 class ThdrISAKMP;
    58 class ThdrISAKMP;
    76 private:
    77 private:
    77     TUint32              iObjId;      // Object identifier 
    78     TUint32              iObjId;      // Object identifier 
    78     CIkev1PluginSession* iPluginSession;  // Plugin session pointer  
    79     CIkev1PluginSession* iPluginSession;  // Plugin session pointer  
    79     TUint32              iSAId;       // SA id of CIkev1Negotiation
    80     TUint32              iSAId;       // SA id of CIkev1Negotiation
    80     TUint32              iMsgId;      // Transaction exchange message ID
    81     TUint32              iMsgId;      // Transaction exchange message ID
    81     
    82 
    82 public: 
    83 public: 
    83     /**
    84     /**
    84      * Username from UI dialog or cache.
    85      * Username from UI dialog or cache.
    85      * Own.
    86      * Own.
    86      */
    87      */
    89 	/**
    90 	/**
    90      * Secret from UI dialog or cache.
    91      * Secret from UI dialog or cache.
    91      * Own.
    92      * Own.
    92      */    
    93      */    
    93     HBufC8* iSecret;
    94     HBufC8* iSecret;
       
    95     
       
    96     /**
       
    97      * Negotiation pointer
       
    98      * Not own.
       
    99      */    
       
   100     CIkev1Negotiation*   iNegotiation;
       
   101 
    94     };
   102     };
    95 
   103 
    96 
   104 
    97 NONSHARABLE_CLASS(CIKECRACKNegotiation) : public CBase, public MIkeDialogComplete
   105 NONSHARABLE_CLASS(CIKECRACKNegotiation) : public CBase, public MIkeDialogComplete
    98 {
   106 {