//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_WiFiEndpointCapabilities.cs // // Contents: Describes the capabilities of a WiFiEndpoint. // This file was automatically generated from CIM_WiFiEndpointCapabilities.mof // //---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Globalization; using System.Xml.Serialization; using System.IO; using Intel.Manageability.WSManagement; using Intel.Manageability.Cim.Untyped; namespace Intel.Manageability.Cim.Typed { /// ///Describes the capabilities of a WiFiEndpoint. /// [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_WiFiEndpointCapabilities")] [System.Xml.Serialization.XmlRootAttribute("CIM_WiFiEndpointCapabilities", Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_WiFiEndpointCapabilities", IsNullable=false)] public class CIM_WiFiEndpointCapabilities : CIM_EnabledLogicalElementCapabilities { /// /// Default constructor. /// public CIM_WiFiEndpointCapabilities() :base() { } /// /// Constructor that recieves an xml string for deserialization. /// /// xml string to deserialize public CIM_WiFiEndpointCapabilities(string xml): base((IWSManClient)null) { this.Deserialize(xml); } /// /// Constructor which recieves a Ws-Management client object. /// /// Ws-Management client public CIM_WiFiEndpointCapabilities(IWSManClient client): base(client) { } /// /// Remove OtherSupportedAuthenticationMethods field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveOtherSupportedAuthenticationMethods() { RemoveField("OtherSupportedAuthenticationMethods"); } /// /// Is true if the field OtherSupportedAuthenticationMethods exists in the current object, /// otherwise is false. /// public virtual bool OtherSupportedAuthenticationMethodsExist { get { return ContainsField("OtherSupportedAuthenticationMethods"); } } /// /// Optional, Shall contain additional authentication methods supported by the associated WifiEndpoint, but not listed in the valuemap for SupportedAuthenticationMethods. The positions of these strings are the lowest indices of the array, and do not correspond to the positions of the values in SupportedAuthenticationMethods. /// [CimField(false, false)] public virtual string[] OtherSupportedAuthenticationMethods { get { return CimTypesUtils.StringArrayToArray(this["OtherSupportedAuthenticationMethods"]); } set { string[] arr = CimTypesUtils.ArrayToStringArray(value); this.SetOrAddField("OtherSupportedAuthenticationMethods", arr); } } /// /// Remove OtherSupportedEncryptionMethods field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveOtherSupportedEncryptionMethods() { RemoveField("OtherSupportedEncryptionMethods"); } /// /// Is true if the field OtherSupportedEncryptionMethods exists in the current object, /// otherwise is false. /// public virtual bool OtherSupportedEncryptionMethodsExist { get { return ContainsField("OtherSupportedEncryptionMethods"); } } /// /// Optional, Shall contain additional encryption methods supported by the associated WifiEndpoint, but not listed in the valuemap for SupportedEncryptionMethods. The positions of these strings are the lowest indices of the array, and do not correspond to the positions of the values in SupportedEncryptionMethods. /// [CimField(false, false)] public virtual string[] OtherSupportedEncryptionMethods { get { return CimTypesUtils.StringArrayToArray(this["OtherSupportedEncryptionMethods"]); } set { string[] arr = CimTypesUtils.ArrayToStringArray(value); this.SetOrAddField("OtherSupportedEncryptionMethods", arr); } } /// /// Remove SupportedAuthenticationMethods field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveSupportedAuthenticationMethods() { RemoveField("SupportedAuthenticationMethods"); } /// /// Is true if the field SupportedAuthenticationMethods exists in the current object, /// otherwise is false. /// public virtual bool SupportedAuthenticationMethodsExist { get { return ContainsField("SupportedAuthenticationMethods"); } } /// /// Optional, The set of IEEE 802.11 authentication methods supported by the associated WifiEndpoint. * Other (1): shall indicate that at least one authentication method not specified in the list below is supported. If SupportedAuthenticationMethods contains 1, OtherSupportedAuthenticationMethods shall not be NULL and shall not be empty. /// * Open System (2): shall indicate that Open System authentication is supported. SupportedAuthenticationMethods shall contain 2 only if SupportedEncryptionMethods contains 2 ("WEP") or 5 ("None"). /// * Shared Key (3): shall indicate Shared Key authentication is supported. SupportedAuthenticationMethods shall contain 3 only if SupportedEncryptionMethods contains 2 ("WEP") or 5 ("None"). /// * WPA PSK (4): shall indicate that WPA (Wi-Fi Protected Access) PSK (Pre-Shared Key) authentication is supported. SupportedAuthenticationMethods shall contain 4 only if SupportedEncryptionMethods contains 3 ("TKIP") or 4 ("CCMP"). /// * WPA IEEE 802.1x (5): shall indicate that WPA (Wi-Fi Protected Access) IEEE 802.1x authentication is supported. SupportedAuthenticationMethods shall contain 5 only if SupportedEncryptionMethods contains 3 ("TKIP") or 4 ("CCMP"). /// * WPA2 PSK (6): shall indicate that WPA2 (Wi-Fi Protected Access Version 2) PSK (Pre-Shared Key) authentication is supported. SupportedAuthenticationMethods shall contain 6 only if SupportedEncryptionMethods contains 3 ("TKIP") or 4 ("CCMP"). /// * WPA2 IEEE 802.1x (7): shall indicate that WPA2 (Wi-Fi Protected Access Version 2) IEEE 802.1x authentication is supported. SupportedAuthenticationMethods shall contain 7 only if SupportedEncryptionMethods contains 3 ("TKIP") or 4 ("CCMP"). /// * WPA3 SAE (32768): shall indicate that WPA3 (Wi-Fi Protected Access Version 3) SAE IEEE 802.1x authentication is supported. SupportedAuthenticationMethods shall contain 32768 only if SupportedEncryptionMethods contains 4 ("CCMP"). /// * WPA3 OWE (32769): shall indicate that WPA3 (Wi-Fi Protected Access Version 3) OWE (Opportunistic Wireless Encryption) IEEE 802.1x authentication is supported. SupportedAuthenticationMethods shall contain 32769 only if SupportedEncryptionMethods contains 4 ("CCMP") /// [CimField(false, false)] public virtual ushort[] SupportedAuthenticationMethods { get { return CimTypesUtils.StringArrayToArray(this["SupportedAuthenticationMethods"]); } set { string[] arr = CimTypesUtils.ArrayToStringArray(value); this.SetOrAddField("SupportedAuthenticationMethods", arr); } } /// /// Remove SupportedEncryptionMethods field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveSupportedEncryptionMethods() { RemoveField("SupportedEncryptionMethods"); } /// /// Is true if the field SupportedEncryptionMethods exists in the current object, /// otherwise is false. /// public virtual bool SupportedEncryptionMethodsExist { get { return ContainsField("SupportedEncryptionMethods"); } } /// /// Optional, The set of IEEE 802.11 encryption methods supported by the associated WifiEndpoint. Shall contain one or more of the values below. /// * Other (1): shall indicate that at least one encryption method not specified in the list below is supported. If SupportedEncryptionMethods contains 1, OtherSupportedEncryptionMethods shall not be NULL and shall not be empty. /// * WEP (2): shall indicate that Wired Equivalency Privacy (WEP) is supported. SupportedEncryptionMethods shall contain 2 only if SupportedAuthenticationMethods contains 2 ("Open System") or 3 ("Shared Key"). /// * TKIP (3): shall indicate that the Temporal Key Integrity Protocol (TKIP) is supported. SupportedEncryptionMethods shall contain 3 only if SupportedAuthenticationMethods contains 4 ("WPA PSK"), 5 ("WPA IEEE 802.1x"), 6 ("WPA2 PSK"), or 7 ("WPA2 IEEE 802.1x"). /// * CCMP (4): shall indicate that the Counter Mode with Cipher Block Chaining Message Authentication Code Protocol (CCMP) is supported. SupportedEncryptionMethods shall contain 4 only if SupportedAuthenticationMethods contains 4 ("WPA PSK"), 5 ("WPA IEEE 802.1x"), 6 ("WPA2 PSK"), or 7 ("WPA2 IEEE 802.1x"). /// * None (5): shall indicate that the associated WiFiEndpoint supports connecting to a network without encryption. SupportedEncryptionMethods shall contain 5 only if SupportedAuthenticationMethods contains 2 ("Open System") or 3 ("Shared Key"). /// * GCMP 256 (32768): shall indicate that the GCMP protocol is supported. SupportedEncryptionMethods shall contain 32768 only if SupportedAuthenticationMethods contains 7 ("WPA2 IEEE 802.1x") /// [CimField(false, false)] public virtual ushort[] SupportedEncryptionMethods { get { return CimTypesUtils.StringArrayToArray(this["SupportedEncryptionMethods"]); } set { string[] arr = CimTypesUtils.ArrayToStringArray(value); this.SetOrAddField("SupportedEncryptionMethods", arr); } } /// /// Enumerate instances of CIM_WiFiEndpointCapabilities class at an endpoint. /// /// WS-Management client /// Keys for selecting the instances /// Collection of CIM_WiFiEndpointCapabilities objects public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys) { List ret = CimBase.Enumerate(client, cimKeys); return new Collection(ret); } /// /// Enumerate instances of CIM_WiFiEndpointCapabilities class at an endpoint. /// /// WS-Management client /// Collection of CIM_WiFiEndpointCapabilities objects public static new Collection Enumerate(IWSManClient client) { List ret = CimBase.Enumerate(client); return new Collection(ret); } /// /// Delete the instance of CIM_WiFiEndpointCapabilities if it is singular. /// Note: This method will succeed only if a single instance of the class exists. /// /// WS-Management client public static new void Delete(IWSManClient client) { CimBase.Delete(client); } /// /// Represents the keys of the CIM_WiFiEndpointCapabilities class. /// public new class CimKeys : CIM_EnabledLogicalElementCapabilities.CimKeys { } } }