Partager via


keyType Element (Compact 2013)

3/26/2014

This element indicates whether the shared key will be a network key or a pass phrase.

Syntax

<xs:element name="keyType">
    <xs:simpleType>
        <xs:restriction
            base="string"
        >
            <xs:enumeration
                value="networkKey"
             />
            <xs:enumeration
                value="passPhrase"
             />
        </xs:restriction>
    </xs:simpleType>
</xs:element>

Remarks

The keyType element is defined by the sharedKey Element.

When the encryption element has a value of WEP, keyType must be set to networkKey.

To view sample profiles that use the keyType 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
sharedKey Element
Profile XML Schema Reference