/*
* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Resource definitions for project EAPOL
*
*/

/*
* %version: 14 %
*/

//  INCLUDES
#include <ecom/registryinfo.rh>
#include "101F8E66.loc"
#include "EapolUID.h"


//  RESOURCE DEFINITIONS 
// ---------------------------------------------------------
//   
//    theInfo
//    Contains the ECom registration information for EAP MSCHAPv2
//
// ---------------------------------------------------------
//
RESOURCE REGISTRY_INFO theInfo
{
dll_uid = EAP_MSCHAPV2_DLL_UID;
interfaces = 
    {
    INTERFACE_INFO
		{		
        interface_uid = PLUGIN_INTERFACE_UID;
        implementations = 
            {
            
			BINARY_IMPLEMENTATION_INFO
                {
                implementation_uid = MSCHAPV2_IMPLEMENTATION_UID;
                version_no = 1;
                display_name = "MSCHAPv2";
                default_data = {0xFE, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x63}; // plain MSCHAPv2 allowed only inside TTLS.
                opaque_data = {0x4E}; //"NOT_OUTSIDE|NOT_OUTSIDE_PEAP|NOT_INSIDE_PEAP|NOT_INSIDE_FAST"
                },					  // NOT_OUTSIDE is the only needed instead of NOT_OUTSIDE_PEAP, 
                					  // but for historical reasons we are using NOT_OUTSIDE_PEAP 
                					  // to indicate that the EAP is allowed only as encapsulated EAP.
			BINARY_IMPLEMENTATION_INFO
                {
                implementation_uid = EAP_MSCHAPV2_IMPLEMENTATION_UID;
                version_no = 1;
                display_name = EMPL_GE_NAME;
                default_data = {0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1A}; // EAP-MSCHAPv2
                opaque_data = {0x0A}; //"NOT_OUTSIDE|NOT_OUTSIDE_PEAP"
                }                       
            };
        }
	};
}
// End of File
