CimOpenWSMan Client

The CimOpenWsManClient is a wrapper to the lower layer WS-Management mechanisms, independent of other implementations such as WinRM and Openwsman. The application passes the serialized CIM object to the wrapper, along with information specifying connection information for the specific Intel AMT platform.

The CimOpenWsManClient support all connection configuration (server and client authentication, connection via proxy).

Public Functions

Function

Description

CimOpenWsmanClient(const ConnectionInfo &Connection)

Constructor of the WSMan client using ConnectionInfo

CimOpenWsmanClient(const string &host, const int port, bool secure,

AuthMethod auth_method, const string &username, const string &password,

const string &proxy, const string &proxy_username, const string proxy_password, const bool local, const string &cert, const string &oid)

Constructor of the WSMan client using all parameters

CimOpenWsmanClient(const CimOpenWsmanClient& Other)

Copy constructor

The following examples demonstrate how to initialize the WS-Management client:

ICimWsmanClient* client = new CimOpenWsmanClient("IP/hostName",

              16992,  // Alternatively, 16993 for TLS 
                    secure, // True for TLS
                    DIGEST, // or KERBEROS
                    "MyUserName", "StrongPassword",

              "ProxyHost", // Proxy IP/hostname

              "ProxyUserName", "ProxyPassword", // Proxy user’s info
                    false, // Connecting from remote, not local
                    "certificateName", "certificateOID");

Copyright © 2006-2022, Intel Corporation. All rights reserved.