sharedKey Element (Compact 2013)
3/26/2014
The sharedKey
element contains shared key information. This element is required only if WEP or PSK keys are required for the authentication and encryption pair.
Syntax
<xs:element name="sharedKey"
minOccurs="0"
>
<xs:complexType>
<xs:sequence>
<xs:element name="keyType">
<xs:simpleType>
<xs:restriction
base="string"
>
<xs:enumeration
value="networkKey"
/>
<xs:enumeration
value="passPhrase"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="protected"
type="boolean"
/>
<xs:element name="keyMaterial"
type="string"
/>
keyMaterial
Contains the network key or passphrase. <xs:any
processContents="lax"
minOccurs="0"
maxOccurs="unbounded"
namespace="##other"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
Child Elements
Element |
Type |
Description |
---|---|---|
String |
Contains the network key or passphrase |
|
Element |
Type of key |
|
Boolean |
Indicates whether the key is encrypted |
Remarks
The sharedKey
element is defined by the security (MSM) Element.
To view sample profiles that use the sharedKey
element, see Wi-Fi Non-Broadcast Profile Sample, Wi-Fi WPA-Personal Profile Sample, and Wi-Fi WPA2-Personal Profile Sample.
See Also
Tasks
Wi-Fi Non-Broadcast Profile Sample
Wi-Fi WPA-Personal Profile Sample
Wi-Fi WPA2-Personal Profile Sample
Reference
Profile XML Schema Elements
security (MSM) Element
Profile XML Schema Reference